annotate app/views/enumerations/edit.rhtml @ 255:a7002a8f0eca feature_80

Show a star (or similar) by active files, or a checkbox if permitted to edit them. Checkbox doesn't do anything yet
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 03 Mar 2011 19:35:02 +0000
parents 513646585e45
children
rev   line source
Chris@0 1 <h2><%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> &#187; <%=h @enumeration %></h2>
Chris@0 2
Chris@0 3 <% form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") do %>
Chris@0 4 <%= render :partial => 'form' %>
Chris@0 5 <%= submit_tag l(:button_save) %>
Chris@0 6 <% end %>
Chris@0 7
Chris@0 8 <% form_tag({:action => 'destroy', :id => @enumeration}) do %>
Chris@0 9 <%= submit_tag l(:button_delete) %>
Chris@0 10 <% end %>