Beautify language selection

This commit is contained in:
Petko Bordjukov 2015-08-15 08:09:46 +03:00
parent 2838f81327
commit 15b843b233
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ h3.entry-title = t :login_data
= simple_form_for(current_user, wrapper: :default, as: :user, url: registration_path(:user), html: { method: :put, multipart: true }) do |f|
.form-inputs
= f.input :email, required: true
= f.input :language, collection: I18n.available_locales, required: true
= f.input :language, as: :radio_buttons, collection: locale_collection, include_blank: false, wrapper: :default
- if current_user.pending_reconfirmation?
p