<div class="row">
  <div class="col-md-6 col-md-offset-3">

  <h2>Inscription</h2>

  <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
    <%= f.error_notification %>

    <% if @captcha.present? %>
     <%= hidden_field_tag 'captcha_uuid', @captcha['uuid'] %>
    <% end %>

    <div class="form-inputs">

      <% if @captcha.present? %>
        <%= f.input :captcha, required: true do %>
          <p>Protection anti-spam : veuillez recopier l'extrait ci-dessous.</p>
          <%= image_tag("/captcha/#{@captcha['uuid']}.png", width: '100%', height: 'auto' )%>
          <%= text_field_tag(:user_captcha, nil, class: 'form-control input-lg', autofocus: true) %>
        <% end %>
      <% end %>

      <%= f.input :email, required: true, autofocus: false %>
      <%= f.input :password, required: true, label: 'Mot de passe', hint: ("#{@minimum_password_length} caractères minimum" if @validatable) %>
      <%= f.input :password_confirmation, label: 'Confirmation du mot de passe', required: true %>
    </div>

    <div class="form-actions">
      <%= f.button :submit, "S'inscrire" %>
    </div>
  <% end %>

  <%= render "devise/shared/links" %>

  </div>

</div>
<div class="container">
  <h2>Inscription.</h2>

  <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
    <%= f.error_notification %>

    <% if @captcha.present? %>
     <%= hidden_field_tag 'captcha_uuid', @captcha['uuid'] %>
    <% end %>

    <div class="form-inputs">

      <% if @captcha.present? %>
        <%= f.input :captcha, required: true do %>
          <p>Protection anti-spam : veuillez recopier l'extrait ci-dessous.</p>
          <%= image_tag("/captcha/#{@captcha['uuid']}.png", width: '100%', height: 'auto' )%>
          <%= text_field_tag(:user_captcha, nil, class: 'form-control input-lg', autofocus: true) %>
        <% end %>
      <% end %>

      <%= f.input :email, required: true, autofocus: false %>
      <%= f.input :password, required: true, label: 'Mot de passe', hint: ("#{@minimum_password_length} caractères minimum" if @validatable) %>
      <%= f.input :password_confirmation, label: 'Confirmation du mot de passe', required: true %>
    </div>

    <div class="form-actions">
      <%= f.button :submit, "S'inscrire" %>
    </div>
  <% end %>

  <%= render "devise/shared/links" %>
</div>
Fix margins on account creation form
Fix margins on account creation form
