Sha256: 8aaa1bd9b3fdbae126c22e22487566819e883a37fe9290f03abc1d5476ba18f1
Contents?: true
Size: 1.1 KB
Versions: 33
Compression:
Stored size: 1.1 KB
Contents
<%= render(Devise::FormComponent.new(title: I18n.t("bo.devise.password.new") )) do %> <%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= f.input :reset_password_token, as: :hidden %> <%= f.input :password, label: 'Mot de passe', required: true, autofocus: true, hint: ("#{@minimum_password_length} caractères minimum" if @minimum_password_length), class: 'block text-sm font-medium text-gray-700' %> <%= f.input :password_confirmation, label: 'Confirmez votre mot de passe', required: true, class: 'block text-sm font-medium text-gray-700' %> <div class="mt-5"> <%= f.button :submit, I18n.t("bo.devise.save"), class: "flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2", data: { turbo: false } %> </div> <% end %> <% end %>
Version data entries
33 entries across 33 versions & 1 rubygems