<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <h2>Sign up</h2>
            <hr>
            <%= devise_error_messages! %>
            <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) 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 %>
                    <%= f.password_field :password, class: 'form-control' %>
                </div>
                <div class="form-group">
                    <%= f.label :password_confirmation %>
                    <%= f.password_field :password_confirmation, class: 'form-control', autocomplete: 'off' %>
                </div>
            <% end %>
            <%= render "devise/shared/links" %>
        </div>
    </div>
</div>


<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <h2>Sign up</h2>
            <hr>
            <%= devise_error_messages! %>
            <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) 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 %>
                    <%= f.password_field :password, class: 'form-control' %>
                </div>
                <div class="form-group">
                    <%= f.label :password_confirmation %>
                    <%= f.password_field :password_confirmation, class: 'form-control', autocomplete: 'off' %>
                </div>
            <% end %>
        </div>
    </div>
</div>


Remove links partial in sign up form.
Remove links partial in sign up form.
