<%= render 'shared/back_link' %>

<%= t("proposal_notifications.new.title") %>

<%= t("proposal_notifications.new.info_about_receivers_html", count: @proposal.voters.count, proposal_page: link_to(t("proposal_notifications.new.proposal_page"), proposal_path(@proposal, anchor: "comments"))).html_safe %>

<%= form_for @notification do |f| %> <%= render "shared/errors", resource: @notification %> <%= f.label :title, t("proposal_notifications.new.title_label") %> <%= f.text_field :title, label: false %> <%= f.label :body, t("proposal_notifications.new.body_label") %> <%= f.text_area :body, label: false, rows: "3" %> <%= f.hidden_field :proposal_id, value: @proposal.id %>
<%= f.submit t("proposal_notifications.new.submit_button"), class: "button expanded" %>
<% end %>