view app/views/custom_fields/edit.rhtml @ 759:7d58183fd14c feature_14

Fixes (hopefully) Bug #323
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 11 Nov 2011 17:50:58 +0000
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 %>