1 <p class="title">Rename file</p>
\r
3 <% form_tag :action => 'update', :id => @myfile do %>
\r
4 <%= myfile_to_file(error_messages_for('myfile')) %>
\r
5 <label for="myfile_filename">Name:</label><br />
\r
6 <%= text_field 'myfile', 'filename' %><br />
\r
8 <%= submit_tag 'Rename' %>
\r
11 <%= link_to 'Back', :controller => 'folder', :action => 'list', :id => controller.folder_id %>