%= render :partial => 'custom_fields/formats/regexp', :locals => {:f => f, :custom_field => custom_field} %>
<%= f.text_field :url_pattern, :size => 50, :label => :field_url %>
<%= f.text_field(:default_value) %>