view app/views/custom_fields/edit.rhtml @ 307:c7d3b58bd01c feature_117

Produce a single en.yml which contains British texts but describes itself as just English. The difference between en and en-GB is minimal for this application, apart from date formats, and the pain in maintaining both is significant. See #117 and #58.
author Chris Cannam
date Mon, 28 Mar 2011 17:41:07 +0100
parents 513646585e45
children
line wrap: on
line source
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> 
  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
  &#187; <%=h @custom_field.name %></h2>

<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<% end %>