%= form_for(@notification) do |f| %>
<% if @notification.errors.any? %>
<%= pluralize(@notification.errors.count, "error") %> prohibited this notification from being saved:
<% @notification.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :content %>
<%= f.text_field :content %>
<%= f.label :url %>
<%= f.text_field :url %>
<%= f.submit %>
<% end %>