Skip to content

Commit

Permalink
Merge pull request #40 from kptLucek/feature/wishlist-form-theme
Browse files Browse the repository at this point in the history
Added default Sylius form theme
  • Loading branch information
pptasinski-bitbag authored Mar 16, 2021
2 parents 931b61f + acfd42d commit d263a59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/views/wishlist.html.twig
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{% extends '@SyliusShop/layout.html.twig' %}

{% import '@SyliusUi/Macro/messages.html.twig' as messages %}
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}

{% block content %}
<h1 class="ui monster section dividing header">
{{ 'bitbag_sylius_wishlist_plugin.ui.wishlist'|trans }}
</h1>
{% if wishlist.wishlistProducts.count > 0 %}
{{ form_start(form) }}
{{ form_start(form, {attr: {'class': 'ui form'}}) }}
<div class="ui five column stackable grid" id="wishlist">

{% for childForm in form.children if childForm.vars.name != '_token' %}
Expand Down

0 comments on commit d263a59

Please sign in to comment.