@@ -1,5 +1,6 | |||||
1 |
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' |
|
1 | <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> | |
2 | » <%=h @custom_field.name %> (<%=l(@custom_field.type_name)%>)</h2> |
|
2 | » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> | |
|
3 | » <%=h @custom_field.name %></h2> | |||
3 |
|
4 | |||
4 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> |
|
5 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> | |
5 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
6 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,5 +1,6 | |||||
1 |
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' |
|
1 | <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> | |
2 | » <%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2> |
|
2 | » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> | |
|
3 | » <%= l(:label_custom_field_new) %></h2> | |||
3 |
|
4 | |||
4 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> |
|
5 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> | |
5 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
6 | <%= render :partial => 'form', :locals => { :f => f } %> |
General Comments 0
You need to be logged in to leave comments.
Login now