Merge pull request #4121 from Keirua/fix/ameliorations-cosmetiques-monavis

Fix/ameliorations cosmetiques monavis
This commit is contained in:
Keirua 2019-07-22 10:36:49 +02:00 committed by GitHub
commit 757dc4e3b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 2 deletions

View file

@ -30,4 +30,10 @@
a {
margin-top: 40px;
}
.monavis {
img {
margin-top: 2 * $default-padding;
}
}
}

View file

@ -1,6 +1,6 @@
.row.white-back
#procedure_new.section.section-label
= form_for @procedure, url: url_for({ controller: 'admin/procedures', action: :update_monavis, id: @procedure.id }), multipart: true do |f|
= form_for @procedure, url: url_for({ controller: 'admin/procedures', action: :update_monavis }), multipart: true do |f|
= render partial: 'monavis', locals: { f: f }
.text-right
= f.button 'Enregistrer', class: 'btn btn-success'

View file

@ -0,0 +1 @@
= render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_navbar', locals: { active: 'MonAvis' }

View file

@ -0,0 +1 @@
= render partial: 'layouts/navbars/navbar_admin_procedurescontroller_index'

View file

@ -0,0 +1 @@
= render partial: 'layouts/navbars/navbar_admin_procedurescontroller_index'

View file

@ -23,4 +23,5 @@
.flex.column.align-center
= link_to 'Accéder à votre dossier', dossier_path(@dossier), class: 'button large primary'
= link_to 'Déposer un autre dossier', procedure_lien(@dossier.procedure)
!= @dossier.procedure.monavis_embed
.monavis
!= @dossier.procedure.monavis_embed