diff options
Diffstat (limited to 'app/views/assets/edit.html.erb')
| -rw-r--r-- | app/views/assets/edit.html.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/assets/edit.html.erb b/app/views/assets/edit.html.erb new file mode 100644 index 0000000..d60db94 --- /dev/null +++ b/app/views/assets/edit.html.erb | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <h1>Editing asset</h1> | ||
| 2 | |||
| 3 | <% form_for(@asset) do |f| %> | ||
| 4 | <%= f.error_messages %> | ||
| 5 | |||
| 6 | <p> | ||
| 7 | <%= f.submit 'Update' %> | ||
| 8 | </p> | ||
| 9 | <% end %> | ||
| 10 | |||
| 11 | <%= link_to 'Show', @asset %> | | ||
| 12 | <%= link_to 'Back', assets_path %> \ No newline at end of file | ||
