app.kluk.fr/app/views/invitations/edit.html.erb
Christophe Robillard 7a7fa4c095
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
redesign app on top of the kluk.fr charte
- drop Bulma and Font Awesome, plain CSS built on charte.css
- dashboard: GitHub-like calendar grouped by year, selected day panel
  (sticky side column on desktop, bottom bar on mobile), keyboard navigation
- public page: today's mood and last months fit in one screen, journal hidden
- day log page: mode picker as pills, illustration follows the chosen mode
- login, password and invitation screens in French, global flash messages
- add User#current_mode_since

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 07:35:53 +02:00

16 lines
912 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<% 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>
<%= 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 %>
<% end %>
<%= form.submit "Activer mon compte", class: "bouton" %>
<% end %>
</article>