annotate app/views/custom_fields/edit.rhtml @ 420:2008fa7fda29
bug_145
Track the project tree explicitly through recursive functions rather than using lft, rgt ordering. Fixes #145
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Tue, 10 May 2011 11:57:41 +0100 |
parents |
513646585e45 |
children |
|
rev |
line source |
Chris@0
|
1 <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
|
Chris@0
|
2 » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
|
Chris@0
|
3 » <%=h @custom_field.name %></h2>
|
Chris@0
|
4
|
Chris@0
|
5 <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %>
|
Chris@0
|
6 <%= render :partial => 'form', :locals => { :f => f } %>
|
Chris@0
|
7 <%= submit_tag l(:button_save) %>
|
Chris@0
|
8 <% end %>
|