@@ -1,7 +1,8 | |||
|
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> | |
|
1 | <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> | |
|
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 | 5 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> |
|
5 | 6 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
6 | 7 | <%= submit_tag l(:button_save) %> |
|
7 | 8 | <% end %> |
@@ -1,8 +1,9 | |||
|
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> | |
|
1 | <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> | |
|
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 | 5 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> |
|
5 | 6 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
6 | 7 | <%= hidden_field_tag 'type', @custom_field.type %> |
|
7 | 8 | <%= submit_tag l(:button_save) %> |
|
8 | 9 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now