| <% @heading = "Checking Out #{@page.presentation_name}" %> |
| <%= "You are about to check-out the page \"#{@page.presentation_name}\". <p>To be able to edit this page a reserved working copy will be created. <br>The page will be locked untill you check-in or undo the check-out. The changes will be visible to other users only after you check-in.</p><p>It is recommended to add a check-out note, you can modify this note when you check-in the file.</p>" %> |
| |
| <%= error_messages_for 'checkout' %> |
| |
| <% tabular_form_for :version, @version do |f| %> |
| <tr> |
| <th></th> |
| <td><%= f.text_area :note, :cols => 60, :rows => 8 %></td> |
| <tr> |
| <th>Source Version</th> |
| <td><%= f.select :version_id, @versions.collect {|version| [version.version_text, version.id]} %></td></tr> |
| </tr> |
| <tr><th></th><td><%= submit_tag "Continue" %></td></tr> |
| <% end %> |