Sha256: dcda34b2f5a532a660e63600535b54df1ac1512000ceb093a96a91c552cbb2ed

Contents?: true

Size: 1.09 KB

Versions: 9

Compression:

Stored size: 1.09 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, "Sauvegarder", 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

9 entries across 9 versions & 1 rubygems

Version Path
tybo-0.0.40 app/views/devise/passwords/edit.html.erb
tybo-0.0.39 app/views/devise/passwords/edit.html.erb
tybo-0.0.38 app/views/devise/passwords/edit.html.erb
tybo-0.0.37 app/views/devise/passwords/edit.html.erb
tybo-0.0.36 app/views/devise/passwords/edit.html.erb
tybo-0.0.35 app/views/devise/passwords/edit.html.erb
tybo-0.0.34 app/views/devise/passwords/edit.html.erb
tybo-0.0.32 app/views/devise/passwords/edit.html.erb
tybo-0.0.31 app/views/devise/passwords/edit.html.erb