<div class="verification account row">

  <%= link_to account_path, class: "left back clear" do %>
    <i class="icon-angle-left left"></i>
    <%= t("verification.back") %>
  <% end %>

  <div class="small-12 column">

    <h1><%= t("verification.letter.edit.title") %></h1>

    <%= t("verification.letter.edit.explanation_html") %>

    <div class="alert-box success radius clear margin-top">
      <%= t("verification.letter.create.flash.success_html",
          offices: link_to(t("verification.letter.create.flash.offices"),
                           t("verification.letter.create.flash.offices_url"),
                           target: "_blank")).html_safe
      %>
    </div>

    <%= form_for @letter, as: "letter", url: letter_path, method: :put do |f| %>
      <div class="small-12 medium-6 inline-block">
        <%= f.text_field :verification_code,
            label: t("verification.letter.edit.confirmation_code"),
            placeholder: t("verification.letter.edit.confirmation_code") %>
      </div>
      <%= f.submit t("verification.letter.new.send_code"), class: "button radius success" %>
    <% end %>

    <%= link_to t("verification.letter.edit.see_all"), highlights_path, class: "button warning radius" %>
  </div>
</div>
