Skip to content

Commit

Permalink
Merge pull request #376 from Charlie-Lucas/bugfix/media-chooser-import
Browse files Browse the repository at this point in the history
prefer use form_rest due to a bug with form_widget
  • Loading branch information
gregumo committed Apr 4, 2016
2 parents 9cccf22 + efed8e8 commit eef5b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bundle/MediaBundle/Resources/views/Media/create.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<form action="{{ path('VictoireMediaBundle_media_create', { 'folderId' : folder.id, 'type': type } ) }}" method="post" {{ form_enctype(form) }} class="form-horizontal properties">
<div class="prop_wrp">
{{ form_widget(form) }}
{{ form_rest(form) }}
<div class="input_prop">
<div class="btn_group">
<button class="btn" onclick="window.location = '{{ path('VictoireMediaBundle_folder_show', { 'folderId' : folder.id } ) }}'" type="reset">{{ 'form.cancel' |trans({}, 'victoire') }}</button>
Expand Down

0 comments on commit eef5b3b

Please sign in to comment.