Sha256: 9520c4a1fbf7ddf03bb77ac034a215f6e72ef67b722f2e327c6f1cc2239e0f9f

Contents?: true

Size: 1.63 KB

Versions: 8

Compression:

Stored size: 1.63 KB

Contents

<h2>Sign up</h2>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <%= devise_error_messages! %>

  <div class="form-inputs">
    <div class="form-group string required name">
      <%= f.label :name, class: "control-label string name required" %>
      <%= f.text_field :name, autofocus: true, class: "form-control string name required" %>
    </div>

    <div class="form-group string required username">
      <%= f.label :username, class: "control-label string username required" %>
      <%= f.text_field :username, class: "form-control string username required" %>
    </div>

    <div class="form-group string required email">
      <%= f.label :email, class: "control-label string email required" %>
      <%= f.email_field :email, class: "form-control string email required" %>
    </div>

    <div class="form-group string required password">
      <%= f.label :password, class: "control-label string password required" %>
      <% if @minimum_password_length %>
        <em>(<%= @minimum_password_length %> characters minimum)</em>
      <% end %><br />
      <%= f.password_field :password, autocomplete: "off", class: "form-control string password required" %>
    </div>

    <div class="form-group string required password">
      <%= f.label :password_confirmation, class: "control-label string password required" %>
      <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control string password required" %>
    </div>
  </div>

  <div class="form-actions text-right">
    <%= f.submit "Sign up", class: "btn btn-default" %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/views/devise/registrations/new.html.erb
archangel-0.0.8 app/views/devise/registrations/new.html.erb
archangel-0.0.7 app/views/devise/registrations/new.html.erb
archangel-0.0.6 app/views/devise/registrations/new.html.erb
archangel-0.0.5 app/views/devise/registrations/new.html.erb
archangel-0.0.4 app/views/devise/registrations/new.html.erb
archangel-0.0.3 app/views/devise/registrations/new.html.erb
archangel-0.0.2 app/views/devise/registrations/new.html.erb