2017-02-14 18:13:19 +01:00
|
|
|
- if @procedure.locked?
|
|
|
|
.alert.alert-info
|
2017-02-15 14:13:02 +01:00
|
|
|
Cette procédure est publiée, certains éléments de la description ne sont plus modifiables
|
2015-10-26 15:54:20 +01:00
|
|
|
|
2017-04-26 15:11:50 +02:00
|
|
|
- { libelle: 'Libellé*', description: 'Description*', organisation: 'Organisme', 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
|
2017-02-15 14:13:02 +01:00
|
|
|
.col-md-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?
|
2017-04-06 19:58:11 +02:00
|
|
|
= image_tag @procedure.decorate.logo_img, { style: 'height: 40px; display: inline; margin-right: 6px;', id: 'preview_procedure_logo' }
|
2017-04-06 17:18:03 +02:00
|
|
|
= f.file_field :logo, accept: 'image/png, image/jpg, image/jpeg', style: 'display: inline'
|
2015-12-10 17:13:39 +01:00
|
|
|
|
2017-04-06 19:58:11 +02:00
|
|
|
%div{ style: 'margin-top: 5px;' }
|
2015-12-10 17:13:39 +01:00
|
|
|
%i
|
|
|
|
Fichier accepté : JPG / JPEG / PNG
|
2017-02-15 14:13:02 +01:00
|
|
|
.col-md-6
|
2015-12-10 17:13:39 +01:00
|
|
|
%h4 Drapeau européen
|
2017-02-16 13:59:32 +01:00
|
|
|
.checkbox
|
|
|
|
%label
|
2017-04-06 11:38:44 +02:00
|
|
|
= f.check_box :euro_flag
|
2017-02-16 13:59:32 +01:00
|
|
|
Afficher le drapeau européen
|
2015-12-10 17:13:39 +01:00
|
|
|
|
2017-02-15 14:13:02 +01:00
|
|
|
- unless @procedure.locked?
|
|
|
|
.row
|
|
|
|
.col-md-6
|
|
|
|
%h4 Cartographie
|
2015-10-26 15:54:20 +01:00
|
|
|
|
2017-02-15 14:13:02 +01:00
|
|
|
= f.fields_for :module_api_carto, @procedure.module_api_carto do |ff|
|
2017-02-16 13:59:32 +01:00
|
|
|
.checkbox
|
2016-10-05 10:48:11 +02:00
|
|
|
%label
|
2017-04-12 11:12:05 +02:00
|
|
|
= ff.check_box :use_api_carto, id: "procedure-module-api-carto-use-api-carto"
|
2017-02-16 15:59:49 +01:00
|
|
|
Utilisation de la cartographie
|
2016-02-02 18:37:38 +01:00
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
%ul#modules-api-carto
|
2017-02-15 14:13:02 +01:00
|
|
|
%li
|
2017-02-16 15:59:49 +01:00
|
|
|
.checkbox
|
|
|
|
%label
|
|
|
|
= ff.check_box :quartiers_prioritaires
|
|
|
|
Quartiers Prioritaires
|
2017-02-15 14:13:02 +01:00
|
|
|
%li
|
2017-02-16 13:59:32 +01:00
|
|
|
.checkbox
|
|
|
|
%label
|
2017-02-16 15:59:49 +01:00
|
|
|
= ff.check_box :cadastre
|
|
|
|
Cadastre
|
2016-08-24 11:40:53 +02:00
|
|
|
|
2017-02-15 14:13:02 +01:00
|
|
|
.col-md-6
|
|
|
|
- if @procedure.cerfa_flag
|
|
|
|
%h4 Formulaire de demande ou CERFA
|
2017-02-16 15:59:49 +01:00
|
|
|
.checkbox
|
|
|
|
%label
|
|
|
|
= f.check_box :cerfa_flag
|
|
|
|
Activer l'envoi de formulaire de demande ou CERFA
|
2017-02-15 14:13:02 +01:00
|
|
|
%br
|
2017-02-16 15:59:49 +01:00
|
|
|
= f.text_field :lien_demarche, class: 'form-control', placeholder: 'URL vers le formulaire vierge (facultatif)'
|
2016-08-29 12:07:30 +02:00
|
|
|
|
2017-02-15 14:13:02 +01:00
|
|
|
.row
|
|
|
|
.col-md-6
|
|
|
|
%h4 Particuliers
|
2017-02-16 15:59:49 +01:00
|
|
|
.checkbox
|
2017-02-15 14:13:02 +01:00
|
|
|
%label
|
2017-04-06 11:38:44 +02:00
|
|
|
= f.check_box :for_individual
|
2017-02-15 14:13:02 +01:00
|
|
|
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.
|
2016-10-05 10:48:11 +02:00
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
%ul#individual-with-siret
|
2017-02-16 15:59:49 +01:00
|
|
|
%li
|
|
|
|
.checkbox
|
2017-02-15 14:13:02 +01:00
|
|
|
%label
|
2017-02-16 15:59:49 +01:00
|
|
|
= f.check_box :individual_with_siret
|
2017-02-15 14:13:02 +01:00
|
|
|
Donner la possibilité de renseigner un SIRET au cours de la construction du dossier.
|
2017-03-15 15:22:29 +01:00
|
|
|
.row
|
|
|
|
.col-md-6
|
|
|
|
%h4 Options avancées
|
2017-03-14 10:45:59 +01:00
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
%label{ for: :auto_archive_on } Archivage automatique le
|
2017-03-28 17:45:15 +02:00
|
|
|
= f.text_field :auto_archive_on, id: 'auto_archive_on', value: @procedure.auto_archive_on.try{ |d| d.strftime("%d-%m-%Y") }, data: { provide: 'datepicker', 'date-language' => 'fr', 'date-format' => 'dd/mm/yyyy' }
|
2017-03-15 15:28:09 +01:00
|
|
|
(à 00h00)
|
2017-03-15 15:22:29 +01:00
|
|
|
%p.help-block
|
|
|
|
%i.fa.fa-info-circle
|
|
|
|
L'archivage automatique de la procédure entrainera le passage en instruction de tous les dossiers en construction.
|