vedia/views/reset.erb
2025-12-04 17:41:28 -06:00

17 lines
559 B
Text

<h1 class="mb-5"><%= _("Reset password") %></h1>
<% if @errors %>
<% @errors.each do |error| %>
<% if error.attribute == :email and error.type == :invalid %>
<p class="alert alert-warning mb-4"><%= _("Enter an email address.") %></p>
<% end %>
<% end %>
<% end %>
<form action="/reset" method="post">
<div class="mb-3">
<label for="email" class="form-label"><%= _("Email") %></label>
<input type="text" name="email" class="form-control">
</div>
<button type="submit" class="btn btn-primary"><%= _("Reset password") %></button>
</form>