<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <%= devise_error_messages! %>
  <div class="col-md-3"></div>
  <div class="col-md-6" >
      <h4>Sign up</h4>
      <div class="form-group">
        <%= f.label :email %><br />
        <%= f.email_field :email, autofocus: true,:class =>"form-control" %>
      </div>
      <div class="form-group">
        <%= f.label :password %>
        <% if @minimum_password_length %>
        <em>(<%= @minimum_password_length %> characters minimum)</em>
        <% end %><br />
        <%= f.password_field :password, autocomplete: "off" ,:class =>"form-control" %>
      </div>
      <div class="form-group">
        <%= f.label :password_confirmation %><br />
        <%= f.password_field :password_confirmation, autocomplete: "off",:class =>"form-control" %>
      </div>
      <div class="actions">
        <%= f.submit "Sign up" ,:class=> "btn btn-lg btn-primary btn-block"%>
      </div>
      <%= render "devise/shared/links" %>
  </div>
<% end %>


