% unless @custom_field.new_record? %>
<%= link_to l(:button_edit), custom_field_enumerations_path(@custom_field), :class => 'icon icon-edit' %>
<% if @custom_field.enumerations.active.any? %><%= f.select :default_value, @custom_field.enumerations.active.map{|v| [v.name, v.id.to_s]}, :include_blank => true %>
<% end %> <% end %><%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %>
<%= edit_tag_style_tag f %>