- <fieldset>
- <div class="form-row">
- <label for="email" class="standard-label">
- <%= t '.email address' %>
- </label>
- <%= f.email_field(:email, { :tabindex => 1 }) %>
- <%= f.error_message_on(:email) %>
- </div>
- <div class="form-row">
- <label for="email_confirmation" class="standard-label">
- <%= t '.confirm email address' %>
- </label>
- <%= f.email_field(:email_confirmation, { :tabindex => 2 }) %>
- <%= f.error_message_on(:email_confirmation) %>
- </div>
- <span class="form-help deemphasize"><%= raw(t '.not displayed publicly') %></span>
- </fieldset>
+ <div class="col-sm">
+ <%= form_for current_user, :url => { :action => "create" }, :html => { :class => "standard-form" } do |f| %>
+ <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %>