2015-08-10 11:05:06 +02:00
|
|
|
%h2
|
|
|
|
='Localisation de votre demande'
|
|
|
|
%br
|
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
.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
|
2015-11-10 18:08:47 +01:00
|
|
|
%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
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
-if @dossier.draft?
|
|
|
|
=render partial: '/layouts/etape_suivante'
|
|
|
|
-else
|
|
|
|
=render partial: '/layouts/modifications_terminees'
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
%script{type: 'text/javascript'}
|
|
|
|
="var dossier_id =#{@dossier.id}"
|
|
|
|
initCarto();
|