Sha256: f63eeeecb7bd276f4e1a75ca1bf817b3ba269e219f0d0c1ecad41362d40d72cb

Contents?: true

Size: 1.67 KB

Versions: 12

Compression:

Stored size: 1.67 KB

Contents

<div class="flex min-h-full">
  <div class="flex flex-1 flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24">
    <div class="mx-auto w-full max-w-sm lg:w-96">
      <div>
        <%= render('layouts/flash') %>
        <%= image_tag Tybo.configuration.logo_url, class: 'h-12 w-auto'%>
        <h2 class="mt-6 text-3xl font-bold tracking-tight text-gray-900">Créer un nouveau mot de passe</h2>
      </div>

      <div class="mt-8">
        <div class="mt-6">
        <%= 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>
            <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 %>
        </div>
      </div>
    </div>
  </div>
<%= render(CoverComponent.new) %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tybo-0.0.30 app/views/devise/passwords/edit.html.erb
tybo-0.0.29 app/views/devise/passwords/edit.html.erb
tybo-0.0.28 app/views/devise/passwords/edit.html.erb
tybo-0.0.27 app/views/devise/passwords/edit.html.erb
tybo-0.0.26 app/views/devise/passwords/edit.html.erb
tybo-0.0.24 app/views/devise/passwords/edit.html.erb
tybo-0.0.23 app/views/devise/passwords/edit.html.erb
tybo-0.0.22 app/views/devise/passwords/edit.html.erb
tybo-0.0.21 app/views/devise/passwords/edit.html.erb
tybo-0.0.20 app/views/devise/passwords/edit.html.erb
tybo-0.0.19 app/views/devise/passwords/edit.html.erb
tybo-0.0.18 app/views/devise/passwords/edit.html.erb