app/models/adminpanel/user.rb in adminpanel-2.1.2 vs app/models/adminpanel/user.rb in adminpanel-2.1.3

- old
+ new

@@ -35,44 +35,39 @@ def self.form_attributes [ { 'name' => { 'type' => 'text_field', - 'name' => 'Nombre', 'label' => 'Nombre', 'placeholder' => 'Nombre' } }, { 'email' => { - 'type' => 'text_field', - 'name' => 'Correo', + 'type' => 'email_field', 'label' => 'Correo', 'placeholder' => 'Correo' } }, { 'password' => { 'type' => 'password_field', - 'name' => 'Contrasena', 'label' => I18n.t('model.attributes.password'), 'placeholder' => I18n.t('model.attributes.password'), 'show' => 'false' } }, { 'password_confirmation' => { 'type' => 'password_field', - 'name' => 'Confirmacion de contrasena', 'placeholder' => I18n.t('model.attributes.password_confirmation'), 'label' => I18n.t('model.attributes.password_confirmation'), 'show' => 'false' } }, { 'group_id' => { 'type' => 'belongs_to', - 'name' => 'Group', 'model' => 'Adminpanel::Group', 'remote_resource' => false, 'placeholder' => I18n.t('model.attributes.group_id'), 'label' => I18n.t('model.attributes.group_id') }