opendata active only if feature flag
This commit is contained in:
parent
6dd27ec7ed
commit
fa3c6c3b61
1 changed files with 9 additions and 8 deletions
|
@ -65,15 +65,16 @@
|
|||
= f.label :lien_dpo, 'Lien ou email pour contacter le Délégué à la Protection des Données (DPO)'
|
||||
= f.text_field :lien_dpo, class: 'form-control'
|
||||
|
||||
%h3.header-subsection= t(:opendata_header, scope: [:administrateurs, :informations])
|
||||
%p.notice= t(:opendata_notice_html, scope: [:administrateurs, :informations])
|
||||
%p.notice= t(:opendata, scope: [:administrateurs, :informations])
|
||||
- if Flipper.enabled? :opendata, @procedure
|
||||
%h3.header-subsection= t(:opendata_header, scope: [:administrateurs, :informations])
|
||||
%p.notice= t(:opendata_notice_html, scope: [:administrateurs, :informations])
|
||||
%p.notice= t(:opendata, scope: [:administrateurs, :informations])
|
||||
|
||||
%label.toggle-switch
|
||||
= f.check_box :opendata, class: 'toggle-switch-checkbox'
|
||||
%span.toggle-switch-control.round
|
||||
%span.toggle-switch-label.on Oui
|
||||
%span.toggle-switch-label.off Non
|
||||
%label.toggle-switch
|
||||
= f.check_box :opendata, class: 'toggle-switch-checkbox'
|
||||
%span.toggle-switch-control.round
|
||||
%span.toggle-switch-label.on Oui
|
||||
%span.toggle-switch-label.off Non
|
||||
|
||||
%h3.header-subsection Notice explicative de la démarche
|
||||
|
||||
|
|
Loading…
Reference in a new issue