Sha256: fdcda81eec5b3d8715219837ed632655540f77e9b652a5a985de8b134d533fa3
Contents?: true
Size: 1021 Bytes
Versions: 1
Compression:
Stored size: 1021 Bytes
Contents
= admin_form_for @user do |f| = input_set t('admin.form.base') do = f.input :email = f.input :first_name = f.input :last_name = f.input :patronymic = f.input :phone = f.input :skype = f.input :web_site = f.input :address = f.input :user_role_id, collection: UserRoleType.all, include_blank: false, as: :radio_buttons, item_wrapper_class: 'inline' = f.input :birthday, include_blank: true = f.input :gender, collection: GenderType.all, include_blank: false, as: :radio_buttons, item_wrapper_class: 'inline' = f.input :time_zone, fancy: true, priority: %w(Moscow Kyiv).map{|t| ActiveSupport::TimeZone[t] } = f.input :locale, collection: AbAdmin.translated_locales = f.input :bg_color, as: :color = f.input :password, input_html: {autocomplete: 'off'} = f.input :password_confirmation, input_html: {autocomplete: 'off'} = f.input :avatar, as: :uploader, edit_meta: true = f.hidden_field :fileupload_guid if f.object.new_record? = f.save_buttons
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.9.0 | app/views/admin/users/_form.html.slim |