Fix add requested_email column to france_connect_information table Lint error
This commit is contained in:
parent
08fb6c856e
commit
ff88a0a2a6
4 changed files with 5 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
.fr-radio-group
|
||||
= f.radio_button :use_france_connect_email, true, id: 'use_france_connect_email_yes', class: 'fr-radio', required: true, data: { action: "email-france-connect#triggerEmailField", email_france_connect_target: "useFranceConnectEmail" }
|
||||
%label.fr-label.fr-text--wrap{ for: 'use_france_connect_email_yes' }
|
||||
= t('.keep_fc_email_html', email: @fci.email_france_connect).html_safe
|
||||
= t('.keep_fc_email_html', email: h(@fci.email_france_connect)).html_safe
|
||||
.fr-fieldset__element
|
||||
.fr-radio-group
|
||||
= f.radio_button :use_france_connect_email, false, id: 'use_france_connect_email_no', class: 'fr-radio', required: true, data: { action: "email-france-connect#triggerEmailField", email_france_connect_target: "useFranceConnectEmail" }
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
= render Dsfr::AlertComponent.new(title: '', state: :info, heading_level: 'h2', extra_class_names: 'fr-mt-6w fr-mb-3w') do |c|
|
||||
- c.with_body do
|
||||
%p= t('.intro_html', email: email).html_safe
|
||||
%p= t('.intro_html', email: h(email)).html_safe
|
||||
%p= t('.click_the_link_in_the_email')
|
||||
|
||||
%p.center= link_to t('.continue'), destination_path, class: 'fr-btn'
|
||||
|
|
|
@ -950,7 +950,7 @@ fr:
|
|||
wanna_say: 'Voulez-vous dire ?'
|
||||
confirmation_sent:
|
||||
confirmation_sent_by_email: Confirmez votre email
|
||||
intro_html: Un mail de confirmation a été envoyé à votre adresse <span class='fr-badge fr-badge--info fr-badge--sm'>%{email}</span>
|
||||
intro_html: "Un mail de confirmation a été envoyé à votre adresse <span class='fr-badge fr-badge--info fr-badge--sm'>%{email}</span>"
|
||||
click_the_link_in_the_email: Vous devez impérativement cliquer sur le lien du mail pour activer votre adresse et recevoir les notifications sur l'avancement de vos dossiers.
|
||||
continue: Continuer
|
||||
merge:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddAlternativeEmailColumnToFranceConnectInformationTable < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :france_connect_informations, :requested_email, :string
|
||||
|
|
Loading…
Reference in a new issue