<% content_for :header, t('.fill_form') %>
<% form_for :user, :url => users_path do |f| -%>
  <%= f.error_messages %>
  <div class='field'>
    <%= f.label :login %>
    <%= f.text_field :login, :class => 'larger widest' %>
  </div>
  <div class='field'>
    <%= f.label :email %>
    <%= f.text_field :email, :class => 'larger widest' %>
  </div>
  <div class='field'>
    <%= f.label :password %>
    <%= f.password_field :password, :class => 'larger widest' %>
  </div>
  <div class='field'>
    <%= f.label :password_confirmation %>
    <%= f.password_field :password_confirmation, :class => 'larger widest' %>
  </div>
  <% if just_installed? %>
    <% Refinery::Plugins.registered.in_menu.titles.sort.each do |plugin| -%>
      <%= hidden_field_tag 'user[plugins][]', plugin, :id => "plugins_#{plugin.downcase.gsub(" ", "_")}" %>
    <% end -%>
  <% end -%>
  <p><%= submit_tag t('.sign_up') %></p>
<% end -%>

<% content_for :header, t('.fill_form') %>
<% form_for :user, :url => users_path do |f| -%>
  <%= f.error_messages %>
  <div class='field'>
    <%= f.label :login %>
    <%= f.text_field :login, :class => 'larger widest' %>
  </div>
  <div class='field'>
    <%= f.label :email %>
    <%= f.text_field :email, :class => 'larger widest' %>
  </div>
  <div class='field'>
    <%= f.label :password %>
    <%= f.password_field :password, :class => 'larger widest' %>
  </div>
  <div class='field'>
    <%= f.label :password_confirmation %>
    <%= f.password_field :password_confirmation, :class => 'larger widest' %>
  </div>
  <% if just_installed? %>
    <% Refinery::Plugins.registered.in_menu.names.sort.each do |plugin| -%>
      <%= hidden_field_tag 'user[plugins][]', plugin, :id => "plugins_#{plugin.downcase.gsub(" ", "_")}" %>
    <% end -%>
  <% end -%>
  <p><%= submit_tag t('.sign_up') %></p>
<% end -%>

Revert "Change plugins names to titles and fix error on creating new user"
Revert "Change plugins names to titles and fix error on creating new user"

This reverts commit bd8f127ebd799e1176335b429eea5436b18fdbf2.
