diff options
Diffstat (limited to 'app/views/alerts/_form.html.erb')
-rw-r--r-- | app/views/alerts/_form.html.erb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app/views/alerts/_form.html.erb b/app/views/alerts/_form.html.erb deleted file mode 100644 index b60eaf2..0000000 --- a/app/views/alerts/_form.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= form_for(@alert) do |f| %> - <% if @alert.errors.any? %> - <div id="error_explanation"> - <h2><%= pluralize(@alert.errors.count, "error") %> prohibited this alert from being saved:</h2> - - <ul> - <% @alert.errors.full_messages.each do |msg| %> - <li><%= msg %></li> - <% end %> - </ul> - </div> - <% end %> - - <div class="field"> - <%= f.label :author_id %><br> - <%= f.text_field :author_id %> - </div> - <div class="field"> - <%= f.label :message %><br> - <%= f.text_area :message %> - </div> - <div class="actions"> - <%= f.submit %> - </div> -<% end %> |