<div class="row">
  <div class="small-12 medium-9 column">
    <%= render 'shared/back_link' %>

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

    <div class="callout primary">
      <p>
        <%= t("proposal_notifications.new.info_about_receivers_html",
              count: @proposal.voters.count) %>

        <%= link_to t("proposal_notifications.new.proposal_page"),
                    proposal_path(@proposal) %>
      </p>
    </div>

    <%= 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 %>

      <div class="small-12 medium-4">
        <%= f.submit t("proposal_notifications.new.submit_button"), class: "button expanded" %>
      </div>
    <% end %>
  </div>
</div>
