Skip to content

Commit

Permalink
Use form enctype in prototype build template
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Jędrzejewski committed May 8, 2013
1 parent e8f2c4b commit e0895f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1>{{ 'sylius.prototype.build_header'|trans|raw }}</h1>
</div>

<form action="{{ path('sylius_backend_prototype_build', {'id': prototype.id}) }}" method="post" class="form-horizontal" novalidate>
<form action="{{ path('sylius_backend_prototype_build', {'id': prototype.id}) }}" method="post" class="form-horizontal" {{ form_enctype(form) }} novalidate>
{% include 'SyliusWebBundle:Backend/Product:_form.html.twig' %}
<div class="form-actions">
<input type="submit" value="{{ 'sylius.create'|trans }}" class="btn btn-primary btn-large" />
Expand Down

0 comments on commit e0895f0

Please sign in to comment.