demarches-normaliennes/app/views/users/carte/show.html.haml

27 lines
831 B
Text
Raw Normal View History

2015-08-10 11:05:06 +02:00
%h2
='Localisation de votre demande'
%br
.content{style:'margin-bottom:60px'}
%button.btn.btn-sm.btn-success{type:'button', disabled: 'disabled'} Nouveau
\-
%button.btn.btn-sm.btn-info{type:'button', disabled: 'disabled'} Editer
\-
%button.btn.btn-sm.btn-danger{type:'button', disabled: 'disabled'} Supprimer
2015-08-10 11:05:06 +02:00
%br
%br
#map{style: 'height:600px; width: 100%;'}
= form_tag(url_for({controller: :carte, action: :save_ref_api_carto, dossier_id: @dossier.id}), class: 'form-inline', method: 'POST') do
%br
%input{type: 'hidden', value: '', name: 'ref_dossier', id: 'ref_dossier'}
2015-08-10 11:05:06 +02:00
-if @dossier.draft?
=render partial: '/layouts/etape_suivante'
-else
=render partial: '/layouts/modifications_terminees'
2015-08-10 11:05:06 +02:00
%script{type: 'text/javascript'}
="var dossier_id =#{@dossier.id}"
initCarto();