All colons must be followed by a single space
This commit is contained in:
parent
97df69bcd8
commit
3797015908
58 changed files with 115 additions and 115 deletions
|
@ -1 +1 @@
|
|||
%input{ type: 'checkbox', style:'margin-left: 15px;', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.object.value == 'on') }
|
||||
%input{ type: 'checkbox', style: 'margin-left: 15px;', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.object.value == 'on') }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%input.form-control{ name:"champs['#{champ.id}']",
|
||||
%input.form-control{ name: "champs['#{champ.id}']",
|
||||
placeholder: champ.libelle,
|
||||
id: "champs_#{champ.id}",
|
||||
value: (champ.value.split(/[ ][0-9]*:[0-9]*/).first unless champ.value.nil?),
|
||||
|
@ -6,13 +6,13 @@
|
|||
'data-provide' => champ.data_provide,
|
||||
'data-date-format' => champ.data_date_format }
|
||||
|
||||
%select.form-control{ name:"time_hour['#{champ.id}']", style: 'margin-left: 5px', id:"time_hour_#{champ.id}" }
|
||||
%select.form-control{ name: "time_hour['#{champ.id}']", style: 'margin-left: 5px', id: "time_hour_#{champ.id}" }
|
||||
- (0..23).each do |num|
|
||||
- num = "%.2i" %num
|
||||
%option{ value: num, selected: (:selected if champ.same_hour?(num)) }
|
||||
= num
|
||||
h
|
||||
%select.form-control{ name:"time_minute['#{champ.id}']", id:"time_minute_#{champ.id}" }
|
||||
%select.form-control{ name: "time_minute['#{champ.id}']", id: "time_minute_#{champ.id}" }
|
||||
- (0..59).each do |num|
|
||||
- num = "%.2i" %num
|
||||
- if num.to_i%5 == 0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
%input{ type: 'hidden', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", value: '' }
|
||||
%input{ type: 'checkbox', style:'margin-left: 15px;', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.value == 'on') }
|
||||
%input{ type: 'hidden', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", value: '' }
|
||||
%input{ type: 'checkbox', style: 'margin-left: 15px;', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.value == 'on') }
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
- elsif champ.type_champ == 'explication'
|
||||
|
||||
- else
|
||||
%input.form-control{ name:"champs['#{champ.id}']",
|
||||
%input.form-control{ name: "champs['#{champ.id}']",
|
||||
placeholder: champ.libelle,
|
||||
id: "champs_#{champ.id}",
|
||||
value: champ.value,
|
||||
|
@ -53,5 +53,5 @@
|
|||
'data-date-format' => champ.data_date_format }
|
||||
|
||||
- unless champ.description.empty?
|
||||
%div{ id:"description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
|
||||
%div{ id: "description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
|
||||
= champ.description_with_links
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%textarea.form-control.wysihtml5{ name:"champs['#{champ.id}']",
|
||||
%textarea.form-control.wysihtml5{ name: "champs['#{champ.id}']",
|
||||
placeholder: champ.description,
|
||||
id: "champs_#{champ.id}",
|
||||
row: '6' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue