mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 17:41:41 +00:00
vistas de login
This commit is contained in:
parent
7c0a7f0eea
commit
15a92c1772
8 changed files with 195 additions and 148 deletions
|
@ -1,10 +1,16 @@
|
|||
%h2= t('.resend_confirmation_instructions')
|
||||
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
||||
= render "devise/shared/error_messages", resource: resource
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
|
||||
.actions
|
||||
= f.submit t('.resend_confirmation_instructions')
|
||||
= render "devise/shared/links"
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
%h2= t('.resend_confirmation_instructions')
|
||||
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
||||
= render 'devise/shared/error_messages', resource: resource
|
||||
.form-group
|
||||
= f.label :email
|
||||
= f.email_field :email,
|
||||
autofocus: true,
|
||||
autocomplete: 'email',
|
||||
class: 'form-control',
|
||||
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
|
||||
.actions
|
||||
= f.submit t('.resend_confirmation_instructions'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
= render 'devise/shared/links'
|
||||
|
|
|
@ -1,18 +1,26 @@
|
|||
%h2= t('.change_your_password')
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
||||
= render "devise/shared/error_messages", resource: resource
|
||||
= f.hidden_field :reset_password_token
|
||||
.field
|
||||
= f.label :password, t('.new_password')
|
||||
%br/
|
||||
- if @minimum_password_length
|
||||
%em= t('devise.shared.minimum_password_length', count: @minimum_password_length)
|
||||
%br/
|
||||
= f.password_field :password, autofocus: true, autocomplete: "new-password"
|
||||
.field
|
||||
= f.label :password_confirmation, t('.confirm_new_password')
|
||||
%br/
|
||||
= f.password_field :password_confirmation, autocomplete: "off"
|
||||
.actions
|
||||
= f.submit t('.change_my_password')
|
||||
= render "devise/shared/links"
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
%h2= t('.change_your_password')
|
||||
= form_for(resource, as: resource_name,
|
||||
url: password_path(resource_name),
|
||||
html: { method: :put }) do |f|
|
||||
= render 'devise/shared/error_messages', resource: resource
|
||||
= f.hidden_field :reset_password_token
|
||||
.form-group
|
||||
= f.label :password, t('.new_password')
|
||||
- if @minimum_password_length
|
||||
%em
|
||||
= t('devise.shared.minimum_password_length',
|
||||
count: @minimum_password_length)
|
||||
= f.password_field :password,
|
||||
autofocus: true,
|
||||
autocomplete: 'new-password',
|
||||
class: 'form-control'
|
||||
.form-group
|
||||
= f.label :password_confirmation, t('.confirm_new_password')
|
||||
= f.password_field :password_confirmation, autocomplete: 'off',
|
||||
class: 'form-control'
|
||||
.actions
|
||||
= f.submit t('.change_my_password'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
= render 'devise/shared/links'
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
%h2= t('.forgot_your_password')
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= render "devise/shared/error_messages", resource: resource
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, autocomplete: "email"
|
||||
.actions
|
||||
= f.submit t('.send_me_reset_password_instructions')
|
||||
= render "devise/shared/links"
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
%h2= t('.forgot_your_password')
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= render 'devise/shared/error_messages', resource: resource
|
||||
.form-group
|
||||
= f.label :email
|
||||
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
||||
class: 'form-control'
|
||||
.actions
|
||||
= f.submit t('.send_me_reset_password_instructions'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
= render 'devise/shared/links'
|
||||
|
|
|
@ -1,35 +1,42 @@
|
|||
%h2= t('.title', resource: resource.model_name.human)
|
||||
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
|
||||
= render "devise/shared/error_messages", resource: resource
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, autocomplete: "email"
|
||||
- if devise_mapping.confirmable? && resource.pending_reconfirmation?
|
||||
%div= t('.currently_waiting_confirmation_for_email', email: resource.unconfirmed_email)
|
||||
.field
|
||||
= f.label :password
|
||||
%i
|
||||
(#{t('.leave_blank_if_you_don_t_want_to_change_it')})
|
||||
%br/
|
||||
= f.password_field :password, autocomplete: "new-password"
|
||||
- if @minimum_password_length
|
||||
%br/
|
||||
%em= t('devise.shared.minimum_password_length', count: @minimum_password_length)
|
||||
.field
|
||||
= f.label :password_confirmation
|
||||
%br/
|
||||
= f.password_field :password_confirmation, autocomplete: "new-password"
|
||||
.field
|
||||
= f.label :current_password
|
||||
%i
|
||||
(#{t('.we_need_your_current_password_to_confirm_your_changes')})
|
||||
%br/
|
||||
= f.password_field :current_password, autocomplete: "current-password"
|
||||
.actions
|
||||
= f.submit t('.update')
|
||||
%h3= t('.cancel_my_account')
|
||||
%p
|
||||
= t('.unhappy')
|
||||
= button_to t('.cancel_my_account'), registration_path(resource_name), data: { confirm: t('.are_you_sure') }, method: :delete
|
||||
= link_to t('devise.shared.links.back'), :back
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
%h2= t('.title', resource: resource.model_name.human)
|
||||
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
|
||||
= render 'devise/shared/error_messages', resource: resource
|
||||
.form-group
|
||||
= f.label :email
|
||||
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
||||
class: 'form-control'
|
||||
- if devise_mapping.confirmable? && resource.pending_reconfirmation?
|
||||
%div= t('.currently_waiting_confirmation_for_email', email: resource.unconfirmed_email)
|
||||
.form-group
|
||||
= f.label :password
|
||||
%i
|
||||
(#{t('.leave_blank_if_you_don_t_want_to_change_it')})
|
||||
= f.password_field :password, autocomplete: 'new-password',
|
||||
class: 'form-control'
|
||||
- if @minimum_password_length
|
||||
%em= t('devise.shared.minimum_password_length', count: @minimum_password_length)
|
||||
.form-group
|
||||
= f.label :password_confirmation
|
||||
= f.password_field :password_confirmation,
|
||||
autocomplete: 'new-password',
|
||||
class: 'form-control'
|
||||
.form-group
|
||||
= f.label :current_password
|
||||
%i
|
||||
(#{t('.we_need_your_current_password_to_confirm_your_changes')})
|
||||
= f.password_field :current_password,
|
||||
autocomplete: 'current-password',
|
||||
class: 'form-control'
|
||||
.actions
|
||||
= f.submit t('.update'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
%h3= t('.cancel_my_account')
|
||||
%p
|
||||
= t('.unhappy')
|
||||
= button_to t('.cancel_my_account'),
|
||||
registration_path(resource_name),
|
||||
data: { confirm: t('.are_you_sure') },
|
||||
method: :delete
|
||||
= link_to t('devise.shared.links.back'), :back
|
||||
|
|
|
@ -1,20 +1,24 @@
|
|||
%h2= t('.sign_up')
|
||||
= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
||||
= render "devise/shared/error_messages", resource: resource
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, autocomplete: "email"
|
||||
.field
|
||||
= f.label :password
|
||||
- if @minimum_password_length
|
||||
%em= t('devise.shared.minimum_password_length', count: @minimum_password_length)
|
||||
%br/
|
||||
= f.password_field :password, autocomplete: "new-password"
|
||||
.field
|
||||
= f.label :password_confirmation
|
||||
%br/
|
||||
= f.password_field :password_confirmation, autocomplete: "new-password"
|
||||
.actions
|
||||
= f.submit t('.sign_up')
|
||||
= render "devise/shared/links"
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
%h2= t('.sign_up')
|
||||
= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
||||
= render 'devise/shared/error_messages', resource: resource
|
||||
.form-group
|
||||
= f.label :email
|
||||
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
||||
class: 'form-control'
|
||||
.form-group
|
||||
= f.label :password
|
||||
- if @minimum_password_length
|
||||
%em= t('devise.shared.minimum_password_length', count: @minimum_password_length)
|
||||
= f.password_field :password, autocomplete: 'new-password',
|
||||
class: 'form-control'
|
||||
.form-group
|
||||
= f.label :password_confirmation
|
||||
= f.password_field :password_confirmation,
|
||||
autocomplete: 'new-password',
|
||||
class: 'form-control'
|
||||
.actions
|
||||
= f.submit t('.sign_up'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
= render 'devise/shared/links'
|
||||
|
|
|
@ -1,17 +1,30 @@
|
|||
%h2= t('.sign_in')
|
||||
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, autocomplete: "email"
|
||||
.field
|
||||
= f.label :password
|
||||
%br/
|
||||
= f.password_field :password, autocomplete: "current-password"
|
||||
- if devise_mapping.rememberable?
|
||||
.field
|
||||
= f.check_box :remember_me
|
||||
= f.label :remember_me
|
||||
.actions
|
||||
= f.submit t('.sign_in')
|
||||
= render "devise/shared/links"
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
= render 'layouts/flash'
|
||||
|
||||
%h2= t('.sign_in')
|
||||
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
- if @site
|
||||
= hidden_field :referer, value: site_path(@site)
|
||||
.form-group
|
||||
= f.label :email, class: 'sr-only'
|
||||
= f.email_field :email,
|
||||
autofocus: true,
|
||||
autocomplete: 'email',
|
||||
class: 'form-control',
|
||||
placeholder: t('login.email')
|
||||
|
||||
.form-group
|
||||
= f.label :password, class: 'sr-only'
|
||||
= f.password_field :password,
|
||||
autocomplete: 'current-password',
|
||||
class: 'form-control',
|
||||
placeholder: t('login.password')
|
||||
- if devise_mapping.rememberable?
|
||||
.form-group
|
||||
= f.check_box :remember_me
|
||||
= f.label :remember_me
|
||||
.actions
|
||||
= f.submit t('.sign_in'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
= render 'devise/shared/links'
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
%h2= t('.resend_unlock_instructions')
|
||||
= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
|
||||
= render "devise/shared/error_messages", resource: resource
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, autocomplete: "email"
|
||||
.actions
|
||||
= f.submit t('.resend_unlock_instructions')
|
||||
= render "devise/shared/links"
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-6.align-self-center
|
||||
%h2= t('.resend_unlock_instructions')
|
||||
= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
|
||||
= render 'devise/shared/error_messages', resource: resource
|
||||
.form-group
|
||||
= f.label :email
|
||||
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
||||
class: 'form-control'
|
||||
.actions
|
||||
= f.submit t('.resend_unlock_instructions'),
|
||||
class: 'btn btn-lg btn-primary btn-block'
|
||||
= render 'devise/shared/links'
|
||||
|
|
|
@ -27,8 +27,8 @@ es:
|
|||
updated_at: Actualizado en
|
||||
models:
|
||||
user:
|
||||
one: Usuario
|
||||
other: Usuarios
|
||||
one: Usuarie
|
||||
other: Usuaries
|
||||
devise:
|
||||
confirmations:
|
||||
confirmed: Tu cuenta ha sido confirmada satisfactoriamente.
|
||||
|
@ -49,43 +49,43 @@ es:
|
|||
mailer:
|
||||
confirmation_instructions:
|
||||
action: Confirmar mi cuenta
|
||||
greeting: "¡Bienvenido %{recipient}!"
|
||||
instruction: 'Usted puede confirmar el correo electrónico de su cuenta a través de este enlace:'
|
||||
greeting: "¡Bienvenide %{recipient}!"
|
||||
instruction: 'Podés confirmar el correo electrónico de tu cuenta a través de este enlace:'
|
||||
subject: Instrucciones de confirmación
|
||||
email_changed:
|
||||
greeting: "¡Hola %{recipient}! "
|
||||
message: Estamos contactando contigo para notificarte que tu email ha sido cambiado a %{email}.
|
||||
message: Te estamos contactando para notificarte que tu email ha sido cambiado a %{email}.
|
||||
subject: Email cambiado
|
||||
password_change:
|
||||
greeting: Hola %{recipient}!
|
||||
message: Le estamos contactando para notificarle que su contraseña ha sido cambiada.
|
||||
greeting: "¡Hola %{recipient}!"
|
||||
message: Te estamos contactando para notificarte que su contraseña ha sido cambiada.
|
||||
subject: Contraseña cambiada
|
||||
reset_password_instructions:
|
||||
action: Cambiar mi contraseña
|
||||
greeting: "¡Hola %{recipient}!"
|
||||
instruction: Alguien ha solicitado un enlace para cambiar su contraseña, lo que se puede realizar a través del siguiente enlace.
|
||||
instruction_2: Si usted no lo ha solicitado, por favor ignore este correo electrónico.
|
||||
instruction_3: Su contraseña no será cambiada hasta que usted acceda al enlace y cree una nueva.
|
||||
instruction: Alguien ha solicitado un cambio para tu contraseña, puedes realizarlo a través del siguiente enlace.
|
||||
instruction_2: Si no lo has solicitado, por favor ignora este correo electrónico.
|
||||
instruction_3: Tu contraseña no será cambiada hasta que accedas al enlace y crees una nueva.
|
||||
subject: Instrucciones de recuperación de contraseña
|
||||
unlock_instructions:
|
||||
action: Desbloquear mi cuenta
|
||||
greeting: "¡Hola %{recipient}!"
|
||||
instruction: 'Haga click en el siguiente enlace para desbloquear su cuenta:'
|
||||
message: Su cuenta ha sido bloqueada debido a una cantidad excesiva de intentos infructuosos para ingresar.
|
||||
instruction: 'Has click en el siguiente enlace para desbloquear tu cuenta:'
|
||||
message: Tu cuenta ha sido bloqueada debido a una cantidad excesiva de intentos infructuosos para ingresar.
|
||||
subject: Instrucciones para desbloquear
|
||||
omniauth_callbacks:
|
||||
failure: No has sido autorizado en la cuenta %{kind} porque "%{reason}".
|
||||
success: Has sido autorizado satisfactoriamente en la cuenta %{kind}.
|
||||
failure: No has sido autorizade en la cuenta %{kind} porque "%{reason}".
|
||||
success: Has sido autorizade satisfactoriamente en la cuenta %{kind}.
|
||||
passwords:
|
||||
edit:
|
||||
change_my_password: Cambiar mi contraseña
|
||||
change_your_password: Cambie su contraseña
|
||||
change_your_password: Cambia tu contraseña
|
||||
confirm_new_password: Confirme la nueva contraseña
|
||||
new_password: Nueva contraseña
|
||||
new:
|
||||
forgot_your_password: "¿Ha olvidado su contraseña?"
|
||||
send_me_reset_password_instructions: Envíeme las instrucciones para resetear mi contraseña
|
||||
no_token: No puedes acceder a esta página si no es a través de un enlace para resetear tu contraseña. Si has llegado hasta aquí desde el email para resetear tu contraseña, por favor asegúrate de que la URL introducida está completa.
|
||||
forgot_your_password: "¿Has olvidado tu contraseña?"
|
||||
send_me_reset_password_instructions: Envíame las instrucciones para resetear mi contraseña
|
||||
no_token: No puedes acceder a esta página si no es a través de un enlace para resetear tu contraseña. Si has llegado hasta aquí desde el email para resetear tu contraseña, por favor asegúrate de que la URL introducida esté completa.
|
||||
send_instructions: Recibirás un correo con instrucciones sobre cómo resetear tu contraseña en unos pocos minutos.
|
||||
send_paranoid_instructions: Si tu correo existe en nuestra base de datos, recibirás un correo con instrucciones sobre cómo resetear tu contraseña en tu bandeja de entrada.
|
||||
updated: Se ha cambiado tu contraseña. Ya iniciaste sesión.
|
||||
|
@ -93,20 +93,21 @@ es:
|
|||
registrations:
|
||||
destroyed: "¡Adiós! Tu cuenta ha sido cancelada correctamente. Esperamos verte pronto."
|
||||
edit:
|
||||
are_you_sure: "¿Está usted seguro?"
|
||||
are_you_sure: "¿Estás segura?"
|
||||
cancel_my_account: Anular mi cuenta
|
||||
currently_waiting_confirmation_for_email: 'Actualmente esperando la confirmacion de: %{email} '
|
||||
leave_blank_if_you_don_t_want_to_change_it: dejar en blanco si no desea cambiarlo
|
||||
title: Editar %{resource}
|
||||
unhappy: "¿Disconforme?"
|
||||
update: Actualizar
|
||||
we_need_your_current_password_to_confirm_your_changes: necesitamos su contraseña actual para confirmar los cambios
|
||||
we_need_your_current_password_to_confirm_your_changes: necesitamos tu contraseña actual para confirmar los cambios
|
||||
new:
|
||||
sign_up: Registrarse
|
||||
signed_up: Bienvenido. Tu cuenta fue creada.
|
||||
sign_up: Registrarme por primera vez
|
||||
email: O simplemente continuar con tu dirección de correo y contraseña
|
||||
signed_up: Bienvenide. Tu cuenta fue creada.
|
||||
signed_up_but_inactive: Tu cuenta ha sido creada correctamente. Sin embargo, no hemos podido iniciar la sesión porque tu cuenta aún no está activada.
|
||||
signed_up_but_locked: Tu cuenta ha sido creada correctamente. Sin embargo, no hemos podido iniciar la sesión porque que tu cuenta está bloqueada.
|
||||
signed_up_but_unconfirmed: Se ha enviado un mensaje con un enlace de confirmación a tu correo electrónico. Abre el enlace para activar tu cuenta.
|
||||
signed_up_but_unconfirmed: Para recibir actualizaciones, se ha enviado un mensaje con un enlace de confirmación a tu correo electrónico. Abre el enlace para activar tu cuenta.
|
||||
update_needs_confirmation: Has actualizado tu cuenta correctamente, pero es necesario confirmar tu nuevo correo electrónico. Por favor, comprueba tu correo y sigue el enlace de confirmación para finalizar la comprobación del nuevo correo electrónico.
|
||||
updated: Tu cuenta se ha actualizado.
|
||||
updated_but_not_signed_in:
|
||||
|
@ -119,14 +120,16 @@ es:
|
|||
shared:
|
||||
links:
|
||||
back: Atrás
|
||||
didn_t_receive_confirmation_instructions: "¿No ha recibido las instrucciones de confirmación?"
|
||||
didn_t_receive_unlock_instructions: "¿No ha recibido instrucciones para desbloquear?"
|
||||
forgot_your_password: "¿Ha olvidado su contraseña?"
|
||||
didn_t_receive_confirmation_instructions: "¿No has recibido las instrucciones de confirmación?"
|
||||
didn_t_receive_unlock_instructions: "¿No has recibido instrucciones para desbloquear?"
|
||||
forgot_your_password: "¿Has olvidado tu contraseña?"
|
||||
sign_in: Iniciar sesión
|
||||
sign_in_with_provider: Iniciar sesión con %{provider}
|
||||
sign_up: Registrarse
|
||||
sign_up: Registrarme por primera vez
|
||||
i_dont_have_account: ¿Nunca te registraste en LUNAR?
|
||||
i_have_account: ¿Ya tenés cuenta?
|
||||
minimum_password_length:
|
||||
one: "(%{count} caractere como mínimo)"
|
||||
one: "(%{count} caracter como mínimo)"
|
||||
other: "(%{count} caracteres como mínimo)"
|
||||
unlocks:
|
||||
new:
|
||||
|
|
Loading…
Reference in a new issue