Merge pull request #513 from AyuntamientoMadrid/final_verification
Final verification
This commit is contained in:
@@ -1,50 +1,33 @@
|
||||
<div class="verification account row">
|
||||
|
||||
<div class="alert-box success radius">
|
||||
<%= t('verification.letter.create.flash.success') %>
|
||||
</div>
|
||||
<%= 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">
|
||||
|
||||
<div class="text-center">
|
||||
<div class="small-4 column verification-step completed">
|
||||
<%= t("verification.step_1") %>
|
||||
</div>
|
||||
<div class="small-4 column verification-step completed">
|
||||
<%= t("verification.step_2") %>
|
||||
</div>
|
||||
<div class="small-4 column verification-step active">
|
||||
<%= t("verification.step_3") %>
|
||||
</div>
|
||||
<h1><%= t("verification.letter.edit.title") %></h1>
|
||||
|
||||
<div class="progress small-12 success round">
|
||||
<span class="meter" style="width: 100%"></span>
|
||||
</div>
|
||||
</div>
|
||||
<%= t("verification.letter.edit.explanation_html") %>
|
||||
|
||||
<div class="small-12 medium-12 column">
|
||||
|
||||
<%= link_to account_path, class: "left back clear" do %>
|
||||
<i class="icon-angle-left left"></i>
|
||||
<%= t("verification.back") %>
|
||||
<% end %>
|
||||
|
||||
<h1><%= t("verification.letter.edit.title") %></h1>
|
||||
|
||||
<%= t("verification.letter.new.explanation_html") %>
|
||||
|
||||
<%= link_to t("verification.letter.new.offices"), t("verification.letter.new.offices_url"),
|
||||
target: "_blank", class: "button radius inline-block"
|
||||
<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 class="small-12 medium-6">
|
||||
<%= form_for @letter, as: "letter", url: letter_path, method: :put do |f| %>
|
||||
<%= f.text_field :verification_code, label: t("verification.letter.edit.confirmation_code") %>
|
||||
<%= f.submit t("verification.letter.new.send_code"), class: "button radius success" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
</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>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user