annotate app/views/boards/edit.rhtml @ 490:cd64fb9ab701
feature_199
Add "Edit this page" link to welcome page if the current user is authorised to do so
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Tue, 12 Jul 2011 11:51:42 +0100 |
parents |
513646585e45 |
children |
|
rev |
line source |
Chris@0
|
1 <h2><%= l(:label_board) %></h2>
|
Chris@0
|
2
|
Chris@0
|
3 <% labelled_tabular_form_for :board, @board, :url => {:action => 'edit', :id => @board} do |f| %>
|
Chris@0
|
4 <%= render :partial => 'form', :locals => {:f => f} %>
|
Chris@0
|
5 <%= submit_tag l(:button_save) %>
|
Chris@0
|
6 <% end %>
|