Sha256: 59262ae8133c85a46afa50fdd9fc4d23861ae1f591e3adea3a866fd11311db69

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

<h2>Create your account</h2>

<% if flash[:notice] %>
    <div class="notice"><%= flash[:notice] %></div>
<% end %>

  <div class="row">
    <div class="col-md-8">
      <%= form_for @user do |f|  %>
        <div class="form-group">
          <%= f.label :name %>
          <%= f.text_field :name, autofocus: true, class: 'form-control', placeholder: "enter name" %>
        </div>
        <div class="form-group">
          <%= f.label :email %>
          <%= f.email_field :email, class: 'form-control', placeholder: "enter email" %>
        </div>
        <div class="form-group">
          <%= f.label :password %>
          <%= f.password_field :password, class: 'form-control', placeholder: "enter password" %>
        </div>
       <div class ="form-group">
          <%= f.label :password_confirmation %>
          <%= f.password_field :password_confirmation, class: 'form-control', placeholder: "confirm password" %>
        </div>
        <div class="form-group">
          <%= f.submit "Create User Account", class: 'btn btn-success' %>
        </div>
      <% end %>
    </div>
  </div>



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whodat-1.0.1 app/views/whodat/users/new.html.erb
whodat-1.0.0 app/views/whodat/users/new.html.erb