Skip to content

Commit

Permalink
add titles and descriptions on devise partials
Browse files Browse the repository at this point in the history
  • Loading branch information
vol1ura committed Dec 19, 2023
1 parent 60d8f87 commit 78901cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/devise/confirmations/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<% head_info :title, 'Выслать инструкции для подтверждения e-mail' %>
<% head_info :description, 'Получение инструкции для подтверждения e-mail' %>
<h2>Выслать инструкции для подтверждения e-mail</h2>

<%= form_for resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'row' }, data: { turbo: false } do |f| %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/devise/passwords/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<% head_info :title, 'Восстановление забытого пароля' %>
<% head_info :description, 'Восстановление забытого пароля' %>
<h2>Забыли пароль?</h2>

<%= form_for resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'row' }, data: { turbo: false } do |f| %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/devise/unlocks/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<% head_info :title, 'Выслать инструкцию по разблокировке' %>
<% head_info :description, 'Получение инструкции по разблокировке' %>
<h2>Выслать инструкцию по разблокировке</h2>

<%= form_for resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post, class: 'row' }, data: { turbo: false } do |f| %>
Expand Down

0 comments on commit 78901cd

Please # to comment.