##// END OF EJS Templates
Slight change to the breadcrumb on custom field admin views....
Jean-Philippe Lang -
r3030:8f9f56502d16
parent child
Show More
@@ -1,7 +1,8
1 <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
2 &#187; <%=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 &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
3 &#187; <%=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', :tab => @custom_field.type %>
2 &#187; <%=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 &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
3 &#187; <%= 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