bigdir/app/views/enumerations/edit.html.erb

7 lines
330 B
Plaintext

<h3><%= link_to l(@enumeration.option_name), enumerations_path %> &#187; <%=h @enumeration %></h3>
<%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_save) %>
<% end %>