From 78901cd81b9e2befa4d791fb1fc660c09de9e071 Mon Sep 17 00:00:00 2001 From: Yuriy Volodin Date: Tue, 19 Dec 2023 16:08:12 +0300 Subject: [PATCH] add titles and descriptions on devise partials --- app/views/devise/confirmations/new.html.erb | 2 ++ app/views/devise/passwords/new.html.erb | 2 ++ app/views/devise/unlocks/new.html.erb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index 7c357aae..49828e68 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,3 +1,5 @@ +<% head_info :title, 'Выслать инструкции для подтверждения e-mail' %> +<% head_info :description, 'Получение инструкции для подтверждения e-mail' %>

Выслать инструкции для подтверждения e-mail

<%= form_for resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'row' }, data: { turbo: false } do |f| %> diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index b6bb8ec8..b60775bc 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,3 +1,5 @@ +<% head_info :title, 'Восстановление забытого пароля' %> +<% head_info :description, 'Восстановление забытого пароля' %>

Забыли пароль?

<%= form_for resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'row' }, data: { turbo: false } do |f| %> diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb index 87547298..a985987e 100644 --- a/app/views/devise/unlocks/new.html.erb +++ b/app/views/devise/unlocks/new.html.erb @@ -1,3 +1,5 @@ +<% head_info :title, 'Выслать инструкцию по разблокировке' %> +<% head_info :description, 'Получение инструкции по разблокировке' %>

Выслать инструкцию по разблокировке

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