Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

new.html.erb 1.3KB

    <%= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="span4 offset4 well" style=""> <div class="login-panel panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><%= t 'registration.sign_up'%></h3> </div> <div class="panel-body"> <form role="form"> <%= f.alert_message "Please fix the errors below."%> <div class="form-inputs"> <%= f.text_field :first_name, label: (t 'registration.first_name'), required:true, autofocus: true, class: 'input-block-level' %> <%= f.text_field :last_name, label: (t 'registration.last_name'), required:true, class: 'input-block-level' %> <%= f.email_field :email, required: true, class: 'input-block-level' %> <%= f.password_field :password, label: (t 'registration.password'), required: true, class: 'input-block-level' %> <%= f.password_field :password_confirmation, label: (t 'registration.password_confirmation'), required: true, class: 'input-block-level' %> </div> <div class="form-group" style="margin-top: 15px;"> <%= f.submit t 'registration.sign_up_submit' %> <%= link_to (t 'registration.sign_in'), new_user_session_path, class: 'btn btn-link ' %> </div> </form> </div> </div> </div> <% end %>