Merge pull request #4121 from Keirua/fix/ameliorations-cosmetiques-monavis
Fix/ameliorations cosmetiques monavis
This commit is contained in:
commit
757dc4e3b2
6 changed files with 12 additions and 2 deletions
|
@ -30,4 +30,10 @@
|
|||
a {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.monavis {
|
||||
img {
|
||||
margin-top: 2 * $default-padding;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
= render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_navbar', locals: { active: 'MonAvis' }
|
|
@ -0,0 +1 @@
|
|||
= render partial: 'layouts/navbars/navbar_admin_procedurescontroller_index'
|
|
@ -0,0 +1 @@
|
|||
= render partial: 'layouts/navbars/navbar_admin_procedurescontroller_index'
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue