2024-02-02 09:05:04 -06:00
|
|
|
<%
|
2024-04-09 16:08:58 +04:00
|
|
|
header_title t(".title")
|
2024-02-02 09:05:04 -06:00
|
|
|
%>
|
|
|
|
|
2024-05-14 00:23:24 +07:00
|
|
|
<%= form_with model: @user, url: password_reset_path(token: params[:token]), method: :patch, html: {class: "space-y-6"} do |form| %>
|
2024-02-03 14:17:49 -06:00
|
|
|
<%= auth_messages form %>
|
2024-02-02 09:05:04 -06:00
|
|
|
|
2024-02-12 17:20:50 -05:00
|
|
|
<div class="relative border border-gray-100 bg-gray-25 rounded-xl focus-within:bg-white focus-within:shadow focus-within:opacity-100">
|
2024-04-09 16:08:58 +04:00
|
|
|
<%= form.label :password, class: "p-4 pb-0 block text-sm font-medium text-gray-700" %>
|
|
|
|
<%= form.password_field :password, required: "required", class: "p-4 pt-1 bg-transparent border-none opacity-50 focus:outline-none focus:ring-0 focus-within:opacity-100 w-full" %>
|
2024-02-02 09:05:04 -06:00
|
|
|
</div>
|
|
|
|
|
2024-02-12 17:20:50 -05:00
|
|
|
<div class="relative border border-gray-100 bg-gray-25 rounded-xl focus-within:bg-white focus-within:shadow focus-within:opacity-100">
|
2024-04-09 16:08:58 +04:00
|
|
|
<%= form.label :password_confirmation, class: "p-4 pb-0 block text-sm font-medium text-gray-700" %>
|
|
|
|
<%= form.password_field :password_confirmation, required: "required", class: "p-4 pt-1 bg-transparent border-none opacity-50 focus:outline-none focus:ring-0 focus-within:opacity-100 w-full" %>
|
2024-02-02 09:05:04 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2024-04-09 16:08:58 +04:00
|
|
|
<%= form.submit t(".submit"), class: "flex justify-center w-full px-4 py-3 text-sm font-medium text-white bg-black rounded-xl hover:bg-black focus:outline-none focus:ring-2 focus:ring-gray-200 shadow" %>
|
2024-02-02 09:05:04 -06:00
|
|
|
</div>
|
2024-02-03 16:14:47 +00:00
|
|
|
<% end %>
|