<% if devise_error_messages! %>
<div class="ui container">
  <div class="ui negative message">
    <i class="close icon"></i>
    <div class="header notice">
        <%= devise_error_messages! %>
    </div>
  </div>
</div>
<% end %>

<div class="ui three column grid">
  <div class="five wide column"></div>
  <div class="six wide column">

    <h2>Sign up</h2>

    <%= form_for(resource, as: resource_name, url: registration_path(resource_name), :html => {class: "ui big form"})  do |f| %>

    <div class="required field">
      <%= f.label :email %>
      <%= f.email_field :email, autofocus: true %>
    </div>

    <div class="required field">
      <%= f.label :password %>
      <%= f.password_field :password, autocomplete: "off" %>
    </div>

    <div class="required field">
      <%= f.label :password_confirmation %>
      <%= f.password_field :password_confirmation, autocomplete: "off" %>
    </div>

    <div class="field">
      <%= f.label :picture %>
      <%= f.file_field :picture %>
      <%= f.hidden_field :picture_cache %>
    </div>

    <div class="actions">
      <%= f.submit "Sign up", class: "fluid ui big blue button"%>
    </div>
    <% end %>

    <%# render "devise/shared/links" %>
  </div>
  <div class="five wide column"></div>
</div>

<% if resource.errors.full_messages.count > 0 %>
  <div class="ui container">
    <div class="ui negative message">
      <i class="close icon"></i>
      <div class="header notice">
        <% resource.errors.full_messages.each do |error| %>
          <%= error %>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

<div class="ui three column grid">
  <div class="five wide column"></div>
  <div class="six wide column">

    <h2>Sign up</h2>

    <%= form_for(resource, as: resource_name, url: registration_path(resource_name), :html => {class: "ui big form"})  do |f| %>

    <div class="required field">
      <%= f.label :email %>
      <%= f.email_field :email, autofocus: true %>
    </div>

    <div class="required field">
      <%= f.label :password %>
      <%= f.password_field :password, autocomplete: "off" %>
    </div>

    <div class="required field">
      <%= f.label :password_confirmation %>
      <%= f.password_field :password_confirmation, autocomplete: "off" %>
    </div>

    <div class="field">
      <%= f.label :picture %>
      <%= f.file_field :picture %>
      <%= f.hidden_field :picture_cache %>
    </div>

    <div class="actions">
      <%= f.submit "Sign up", class: "fluid ui big blue button"%>
    </div>
    <% end %>

  </div>
</div>

Fix empty error container on registration page.
Fix empty error container on registration page.
