Merge pull request #7190 from betagouv/7108/add-data-collect-rules
feat(users/procedure/*): add link to texte_juridique or deliberation
This commit is contained in:
commit
6517cb6626
1 changed files with 9 additions and 0 deletions
|
@ -45,6 +45,15 @@
|
|||
%ul
|
||||
- politiques.each do |politique|
|
||||
%li= politique
|
||||
%p.mt-2.footer-header Cadre juridique :
|
||||
%ul
|
||||
- if procedure.deliberation.attached?
|
||||
%li
|
||||
= link_to url_for(procedure.deliberation), target: '_blank', rel: 'noopener' do
|
||||
= "Texte cadrant la demande d'information"
|
||||
- else
|
||||
%li
|
||||
= link_to "Texte juridique la demande d'information", procedure.cadre_juridique, target: '_blank', rel: 'noopener'
|
||||
|
||||
= render partial: 'users/general_footer_row', locals: { dossier: dossier }
|
||||
|
||||
|
|
Loading…
Reference in a new issue