annotate app/views/enumerations/edit.rhtml @ 420:2008fa7fda29
bug_145
Track the project tree explicitly through recursive functions rather than using lft, rgt ordering. Fixes #145
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Tue, 10 May 2011 11:57:41 +0100 |
parents |
513646585e45 |
children |
|
rev |
line source |
Chris@0
|
1 <h2><%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> » <%=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 %> |