diff options
Diffstat (limited to 'app/views/occurrences/new.html.erb')
| -rw-r--r-- | app/views/occurrences/new.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/occurrences/new.html.erb b/app/views/occurrences/new.html.erb index 0a77af1..c05ce40 100644 --- a/app/views/occurrences/new.html.erb +++ b/app/views/occurrences/new.html.erb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <h1>New occurrence</h1> | 1 | <h1>New 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 /> |
| @@ -28,4 +28,4 @@ | |||
| 28 | </p> | 28 | </p> |
| 29 | <% end %> | 29 | <% end %> |
| 30 | 30 | ||
| 31 | <%= link_to 'Back', occurrences_path %> \ No newline at end of file | 31 | <%= link_to 'Back', occurrences_path %> |
