app.kluk.fr/app/views/invitations/edit.html.erb

27 lines
747 B
Text
Raw Normal View History

2026-09-29 06:34:43 +02:00
<article class="texte">
<div>
<h1>Set up your password</h1>
<p>Please set your password to activate your account.</p>
2026-01-12 19:24:51 +01:00
2026-09-29 06:34:43 +02:00
<%= form_with model: @user, url: invitation_path(token: params[:token]), method: :patch do |form| %>
<div>
<%= form.password_field :password,
required: true,
autocomplete: "new-password",
placeholder: "Enter new password" %>
</div>
2026-01-12 19:24:51 +01:00
2026-09-29 06:34:43 +02:00
<div>
<%= form.password_field :password_confirmation,
required: true,
autocomplete: "new-password",
placeholder: "Repeat new password" %>
</div>
2026-01-12 19:24:51 +01:00
2026-09-29 06:34:43 +02:00
<div>
<%= form.submit "Activate Account" %>
</div>
<% end %>
</div>
</article>