Created
April 6, 2016 17:14
-
-
Save Exellin/401e1236c1da97f37df6e81f250785de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= bootstrap_devise_error_messages! %> | |
<div class="panel panel-default devise-bs"> | |
<div class="panel-heading"> | |
<h4><%= t('.sign_up', :default => "Sign up") %></h4> | |
</div> | |
<div class="panel-body"> | |
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: { role: "form" }) do |f| %> | |
<div class="form-group"> | |
<%= f.label :email %> | |
<%= f.email_field :email, autofocus: true, class: "form-control" %> | |
</div> | |
<div class="form-group"> | |
<div class="col-md-6 no-padding"> | |
<%= f.label :first_name %> | |
<%= f.email_field :first_name, class: "form-control" %> | |
</div> | |
<div class="col-md-6 no-padding left-padding"> | |
<%= f.label :last_name %> | |
<%= f.text_field :last_name, class: "form-control" %> | |
</div> | |
</div> | |
<div class="form-group"> | |
<%= f.label :password %><br /> | |
<%= f.password_field :password, class: "form-control" %> | |
</div> | |
<div class="form-group"> | |
<%= f.label :password_confirmation %> | |
<%= f.password_field :password_confirmation, class: "form-control" %> | |
</div> | |
<%= f.submit t('.sign_up', :default => "Sign up"), class: "btn btn-primary" %> | |
<% end %> | |
</div> | |
</div> | |
<%= render "devise/shared/links" %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment