Sha256: d4893291dd8612207942dea9ffc6a0f9e5eb4d43cf5647c7e842ef114821f34c
Contents?: true
Size: 1.18 KB
Versions: 8
Compression:
Stored size: 1.18 KB
Contents
<div class="page-header"> <h1>Sign up</h1> </div> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => {:class => 'form-horizontal'}) do |f| %> <%= devise_error_messages! %> <div class="control-group"> <%= f.label :username, :class => 'control-label' %> <div class="controls"> <%= f.text_field :username, :autofocus => true %> </div> </div> <div class="control-group"> <%= f.label :email, :class => 'control-label' %> <div class="controls"> <%= f.email_field :email %> </div> </div> <div class="control-group"> <%= f.label :password, :class => 'control-label' %> <div class="controls"> <%= f.password_field :password %> </div> </div> <div class="control-group"> <%= f.label :password_confirmation, :class => 'control-label' %> <div class="controls"> <%= f.password_field :password_confirmation %> </div> </div> <div class="form-actions"> <%= f.submit "Sign up", :class => 'btn btn-primary' %> <%= link_to t('.cancel', :default => t("helpers.links.cancel")), :back, :class => 'btn' %> </div> <% end %> <%= render "devise/shared/links" %>
Version data entries
8 entries across 8 versions & 1 rubygems