Initial views.
[ecs.git] / app / views / admin / participants / edit.html.erb
blob0f3b3226cef7452fc650b1a5a1fa7ce9b62e53fc
1 <!--
2 Copyright (C) 2007, 2008, 2009, 2010 Heiko Bernloehr (FreeIT.de).
4 This file is part of ECS.
6 ECS is free software: you can redistribute it and/or modify it
7 under the terms of the GNU Affero General Public License as
8 published by the Free Software Foundation, either version 3 of
9 the License, or (at your option) any later version.
11 ECS is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 Affero General Public License for more details.
16 You should have received a copy of the GNU Affero General Public
17 License along with ECS. If not, see <http://www.gnu.org/licenses/>.
18 -->
21 <h1 class="box1">Edit Participant</h1>
23 <P>
24 <%= link_to 'Show', admin_participant_path(:id => @participant) %> |
25 <%= link_to 'Back', admin_participants_path %>
26 </P>
27 <P>
28 <% form_for [:admin, setup_participant(@participant)], :method=>:put do |f| %>
29   <p><%= f.submit 'Save' %></p>
30   <%= render :partial => f %>
31   <p><%= f.submit 'Save' %><p>
32 <% end %>
33 </P>
35 <P>
36 <%= link_to 'Show', admin_participant_path(:id => @participant) %> |
37 <%= link_to 'Back', admin_participants_path %>
38 </P>