2026-09-29 07:35:53 +02:00
|
|
|
|
<% content_for :title, "Bienvenue – Kluk" %>
|
|
|
|
|
|
<article class="texte texte-etroit">
|
|
|
|
|
|
<%= render "charte/tasses" %>
|
|
|
|
|
|
<h1>Bienvenue</h1>
|
|
|
|
|
|
<p>Choisissez un mot de passe pour activer votre compte et retrouver les humeurs de votre Kluk.</p>
|
2026-01-12 19:24:51 +01:00
|
|
|
|
|
2026-09-29 07:35:53 +02:00
|
|
|
|
<%= form_with model: @user, url: invitation_path(token: params[:token]), method: :patch, class: "formulaire" do |form| %>
|
|
|
|
|
|
<%= render "charte/champ", form: form, attribut: :password, libelle: "Mot de passe" do %>
|
|
|
|
|
|
<%= form.password_field :password, required: true, autocomplete: "new-password", maxlength: 72 %>
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
<%= render "charte/champ", form: form, attribut: :password_confirmation, libelle: "Le même, une seconde fois" do %>
|
|
|
|
|
|
<%= form.password_field :password_confirmation, required: true, autocomplete: "new-password", maxlength: 72 %>
|
2026-09-29 06:34:43 +02:00
|
|
|
|
<% end %>
|
2026-09-29 07:35:53 +02:00
|
|
|
|
<%= form.submit "Activer mon compte", class: "bouton" %>
|
|
|
|
|
|
<% end %>
|
2026-09-29 06:34:43 +02:00
|
|
|
|
</article>
|