Sha256: 6032ba7b0938d46dce5f30ededeaffdeaf231964418d6d2af15c47a687ec8871
Contents?: true
Size: 1.52 KB
Versions: 4
Compression:
Stored size: 1.52 KB
Contents
<h2>Editar <%= resource_name.to_s.humanize %> <%= @usuario.nusuario %></h2> <%= simple_form_for(resource, :as => resource_name, :url => registro_usuario_path(resource_name), :html => { :method => :put }) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :nombre, label: 'Nombre', :required => false, :autofocus => true %> <%= f.input :email, label: 'Correo electrónico', :required => true, :autofocus => true %> <%= f.input :descripcion, label: 'Descripción', :required => false, :autofocus => true %> <%= f.association :tema, collection: Msip::Tema.habilitados, label_method: :nombre, :required => false %> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <p>Aún esperando confirmación para: <%= resource.unconfirmed_email %> </p> <% end %> <%= f.input :password, label: 'Nueva clave', :autocomplete => "off", :hint => " deje en blanco si no desea cambiarla", :required => false %> <%= f.input :password_confirmation, label: 'Confirmación de nueva clave', :required => false, wrapper_html: { style: "padding-bottom: 18px;" } %> <%= f.input :current_password, label: 'Clave actual', :hint => " requerida para confirmar sus cambios", :required => true %> </div> <div class="form-actions"> <%= f.button :submit, "Actualizar", 'data-turbo' => false %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems