Add a method which generates a new confirmation email, and provide links to it from appropriate places.
17 lines
496 B
Text
17 lines
496 B
Text
<script>
|
|
$("content").style.display = "none";
|
|
</script>
|
|
|
|
<h1><%= t 'user.confirm.heading' %></h1>
|
|
|
|
<p><%= t 'user.confirm.press confirm button' %></p>
|
|
|
|
<form id="confirm" method="post">
|
|
<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' %>">
|
|
</form>
|
|
|
|
<script>
|
|
$("confirm").submit();
|
|
</script>
|