2015-11-16 16:16:08 +01:00
|
|
|
|
2015-10-26 15:54:20 +01:00
|
|
|
%br
|
|
|
|
|
2016-08-24 12:14:25 +02:00
|
|
|
-{libelle: 'Libellé*', description: 'Description*', organisation: 'Organisation', direction: 'Direction', lien_site_web: 'Lien site internet', lien_notice: 'Lien notice'}.each do |key, value|
|
2016-12-07 11:51:26 +01:00
|
|
|
.form-group
|
2015-11-04 17:27:01 +01:00
|
|
|
%h4
|
2016-12-14 17:13:40 +01:00
|
|
|
= value
|
2016-03-02 15:21:45 +01:00
|
|
|
- if key == :description
|
|
|
|
= f.text_area key, rows: '6', placeholder: 'Description du projet', class: 'form-control wysihtml5'
|
|
|
|
|
|
|
|
- else
|
2016-12-14 17:13:40 +01:00
|
|
|
= f.text_field key, class: 'form-control', placeholder: value
|
2015-10-26 15:54:20 +01:00
|
|
|
|
2015-12-10 17:13:39 +01:00
|
|
|
.row
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-6.col-sm-6.col-xs-6.col-lg-6
|
2015-12-10 17:13:39 +01:00
|
|
|
%h4 Logo de la procédure
|
2016-06-06 18:25:51 +02:00
|
|
|
- unless @procedure.logo.blank?
|
2016-07-05 11:50:56 +02:00
|
|
|
= image_tag @procedure.decorate.logo_img, {style: 'height: 40px; display: inline; margin-right: 6px', id: 'preview_procedure_logo'}
|
2016-06-06 18:25:51 +02:00
|
|
|
= f.file_field(:logo, accept: 'image/png, image/jpg, image/jpeg', style: 'display:inline')
|
2015-12-10 17:13:39 +01:00
|
|
|
|
|
|
|
%div{style:'margin-top:5px'}
|
|
|
|
%i
|
|
|
|
Fichier accepté : JPG / JPEG / PNG
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-6.col-sm-6.col-xs-6.col-lg-6
|
2015-12-10 17:13:39 +01:00
|
|
|
%h4 Drapeau européen
|
|
|
|
%label
|
|
|
|
=f.check_box :euro_flag
|
2016-10-05 10:48:11 +02:00
|
|
|
Afficher le drapeau européen
|
2015-12-10 17:13:39 +01:00
|
|
|
|
2015-10-26 15:54:20 +01:00
|
|
|
%br
|
|
|
|
|
2016-02-02 18:37:38 +01:00
|
|
|
.row
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-6.col-sm-6.col-xs-6.col-lg-6
|
2016-02-02 18:37:38 +01:00
|
|
|
%h4 Cartographie
|
2015-12-08 10:11:58 +01:00
|
|
|
|
2016-02-02 18:37:38 +01:00
|
|
|
= f.fields_for :module_api_carto, @procedure.module_api_carto do |ff|
|
2015-12-08 10:11:58 +01:00
|
|
|
%label
|
2016-02-02 18:37:38 +01:00
|
|
|
=ff.check_box :use_api_carto, {id: :procedure_module_api_carto_use_api_carto}
|
|
|
|
Utilisation de la cartographie
|
|
|
|
|
|
|
|
%ul#modules_api_carto
|
|
|
|
%li
|
|
|
|
%label
|
|
|
|
= ff.check_box :quartiers_prioritaires
|
|
|
|
Quartiers Prioritaires
|
|
|
|
%li
|
|
|
|
%label
|
|
|
|
= ff.check_box :cadastre
|
|
|
|
Cadastre
|
2016-08-24 11:40:53 +02:00
|
|
|
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-6.col-sm-6.col-xs-6.col-lg-6
|
2016-02-02 18:37:38 +01:00
|
|
|
%h4 Formulaire / CERFA
|
|
|
|
%label
|
|
|
|
=f.check_box :cerfa_flag
|
2016-08-29 12:07:30 +02:00
|
|
|
Activer l'envoi de formulaire / CERFA
|
2016-08-24 11:40:53 +02:00
|
|
|
%br
|
|
|
|
=f.text_field :lien_demarche, class: 'form-control', placeholder: 'URL vers le formulaire vierge (facultatif)'
|
2016-08-29 12:07:30 +02:00
|
|
|
|
|
|
|
%br
|
|
|
|
.row
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-6.col-sm-6.col-xs-6.col-lg-6
|
2016-08-29 12:07:30 +02:00
|
|
|
%h4 Particuliers
|
2016-10-05 10:48:11 +02:00
|
|
|
%div
|
|
|
|
%label
|
|
|
|
=f.check_box :for_individual
|
|
|
|
Cette procédure s'adresse à un public qui
|
|
|
|
%b
|
|
|
|
ne possède pas (ou pas encore) de numéro SIRET,
|
|
|
|
qui doivent donc s'identifier en tant que personne physique.
|
|
|
|
|
|
|
|
%ul#individual_with_siret{style:'margin-top: 8px'}
|
|
|
|
%li
|
|
|
|
%label
|
|
|
|
=f.check_box :individual_with_siret
|
|
|
|
Donner la possibilité de renseigner un SIRET au cours de la construction du dossier.
|