diff options
Diffstat (limited to 'app/views/occurrences/edit.html.erb')
| -rw-r--r-- | app/views/occurrences/edit.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/occurrences/edit.html.erb b/app/views/occurrences/edit.html.erb index 6a81188..aa4f6e0 100644 --- a/app/views/occurrences/edit.html.erb +++ b/app/views/occurrences/edit.html.erb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <h1>Editing occurrence</h1> | 1 | <h1>Editing occurrence</h1> |
| 2 | 2 | ||
| 3 | <% form_for(@occurrence) do |f| %> | 3 | <%= form_for(@occurrence) do |f| %> |
| 4 | <%= f.error_messages %> | 4 | <%= form_error_messages(f) %> |
| 5 | 5 | ||
| 6 | <p> | 6 | <p> |
| 7 | <%= f.label :summary %><br /> | 7 | <%= f.label :summary %><br /> |
| @@ -29,4 +29,4 @@ | |||
| 29 | <% end %> | 29 | <% end %> |
| 30 | 30 | ||
| 31 | <%= link_to 'Show', @occurrence %> | | 31 | <%= link_to 'Show', @occurrence %> | |
| 32 | <%= link_to 'Back', occurrences_path %> \ No newline at end of file | 32 | <%= link_to 'Back', occurrences_path %> |
