%= render :partial => 'custom_fields/formats/regexp', :locals => {:f => f, :custom_field => custom_field} %>
<%= f.check_box :text_formatting, {:label => :setting_text_formatting}, 'full', '' %>
<%= f.text_area(:default_value, :rows => 5) %>