]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/confirm.html.erb
Move confirmation methods into ConfirmationsController
[rails.git] / app / views / users / confirm.html.erb
diff --git a/app/views/users/confirm.html.erb b/app/views/users/confirm.html.erb
deleted file mode 100644 (file)
index fde5455..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<% content_for :heading do %>
-  <h1><%= t ".heading" %></h1>
-  <div class='header-illustration confirm-main'></div>
-<% end %>
-
-<% if params[:confirm_string] %>
-  <% content_for :head do %>
-    <%= javascript_include_tag "user" %>
-  <% end %>
-
-  <% content_for(:content_class) { "user_confirm" } %>
-
-  <p><%= t ".press confirm button" %></p>
-
-  <%= bootstrap_form_tag :html => { :id => "confirm" } do |f| %>
-    <%= f.hidden_field :display_name, :value => params[:display_name] %>
-    <%= f.hidden_field :confirm_string, :value => params[:confirm_string] %>
-    <%= f.primary t(".button") %>
-  <% end %>
-<% else %>
-  <h1>
-    <%= t ".introduction_1" %>
-    <span class="text-muted">
-      <%= t ".introduction_2" %>
-    </span>
-  </h1>
-
-  <p class='text-muted'><%= t ".reconfirm_html",
-                              :reconfirm => url_for(:action => "confirm_resend") %></p>
-<% end %>