Skip to content

Commit 4627e47

Browse files
authored
Merge pull request #32 from Victoire/bugfix/31-fix-image-form
Bugfix #31: Fix image form
2 parents 323f8e8 + 2cf7c91 commit 4627e47

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

Form/WidgetImageType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
3434
])
3535
->add('lazyLoad', null, [
3636
'label' => 'widget_image.form.lazyLoad.label',
37-
'vic_help_label' => 'widget_image.form.lazyLoad.help_label',
3837
])
3938
->add('alt', null, [
4039
'label' => 'widget_image.form.alt.label',

Resources/views/form/image.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
{{ form_widget(form.image) }}
44
</div>
55
<div class="col-sm-12">
6-
{{ form_row(form.lazyLoad) }}
6+
{{ form_widget(form.lazyLoad) }}
77
</div>
88
</div>

Resources/views/new.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
</div>
2020
</div>
2121
<h3 class="col-sm-12">{{ 'widget_image.form.link.label'|trans({}, 'victoire') }}</h3>
22-
{{ form_widget(form.link) }}
22+
<div class="col-sm-12">
23+
{{ form_widget(form.link) }}
24+
</div>
2325
<h3 class="col-sm-12">{{ 'widget_image.form.hover.label'|trans({}, 'victoire') }}</h3>
2426
<div class="col-sm-12">
2527
<div class="row">

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ machine:
77
services:
88
- redis
99
php:
10-
version: 7.1.0
10+
version: 7.1.9
1111

1212
checkout:
1313
post:
@@ -28,4 +28,4 @@ test:
2828

2929
general:
3030
artifacts:
31-
- "fails"
31+
- "fails"

0 commit comments

Comments
 (0)