annotate app/views/enumerations/edit.rhtml @ 461:841b2e40895d
feature_36
Adding other projects to publication - created query for projects and controller actions to be used in the AJAX call; still need to get the AJAX call working
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Fri, 17 Jun 2011 18:59:49 +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 %> |