-<script>
-$("content").style.display = "none";
-</script>
+<% content_for :heading do %>
+ <h1><%= t 'user.confirm.heading' %></h1>
+ <div class='header-illustration confirm-main'></div>
+<% end %>
-<h1><%= t 'user.confirm.heading' %></h1>
+<% if params[:confirm_string] %>
+ <% content_for :head do %>
+ <%= javascript_include_tag "user" %>
+ <% end %>
-<p><%= t 'user.confirm.press confirm button' %></p>
+ <% content_for(:content_class) { "user_confirm" } %>
-<form id="confirm" method="post">
- <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
- <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
-</form>
+ <p><%= t 'user.confirm.press confirm button' %></p>
-<script>
-$("confirm").submit();
-</script>
+ <%= form_tag({}, { :id => "confirm" }) do %>
+ <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
+ <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
+ <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
+ <% end %>
+<% else %>
+ <h1>
+ <%= t "user.confirm.introduction_1" %>
+ <span class="deemphasize">
+ <%= t "user.confirm.introduction_2" %>
+ </span>
+ </h1>
+
+ <p class='deemphasize'><%= t "user.confirm.reconfirm_html",
+ :reconfirm => url_for(:action => 'confirm_resend')%></p>
+<% end %>