Sha256: 55c3e0c348dba910746e83fec58383df80761ca5a23a73089916877e12a84414

Contents?: true

Size: 939 Bytes

Versions: 4

Compression:

Stored size: 939 Bytes

Contents

<%= bootstrap_devise_error_messages! %>
<div class="panel panel-default">
  <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">
        <%= 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" %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-bootstrap-views-0.0.7 app/views/devise/registrations/new.html.erb
devise-bootstrap-views-0.0.6 app/views/devise/registrations/new.html.erb
devise-bootstrap-views-0.0.5 app/views/devise/registrations/new.html.erb
devise-bootstrap-views-0.0.4 app/views/devise/registrations/new.html.erb