Adds back link on verification pages

This commit is contained in:
Alberto Garcia Cabeza
2015-09-04 15:06:38 +02:00
parent 2e8669c4c9
commit 4e92b5c3ce
6 changed files with 37 additions and 7 deletions

View File

@@ -17,7 +17,12 @@
<span class="meter" style="width: 66%"></span>
</div>
<h1 class="inline-block"><%= t("verification.sms.edit.title") %></h1>
<%= link_to account_path, class: "left back clear" do %>
<i class="icon-angle-left left"></i>
<%= t("verification.back") %>
<% end %>
<h1><%= t("verification.sms.edit.title") %></h1>
<%= form_for @sms, as: "sms", url: sms_path, method: :put do |f| %>
<% if @error %>

View File

@@ -17,7 +17,12 @@
<span class="meter" style="width: 66%"></span>
</div>
<h1 class="inline-block"><%= t("verification.sms.new.title") %></h1>
<%= link_to account_path, class: "left back clear" do %>
<i class="icon-angle-left left"></i>
<%= t("verification.back") %>
<% end %>
<h1><%= t("verification.sms.new.title") %></h1>
<%= form_for @sms, as: "sms", url: sms_path do |f| %>
<%= render "shared/errors", resource: @sms %>