Commit b79a22be authored by dj3c1t's avatar dj3c1t

fix bug addReference composition

parent 3bcfbf85
......@@ -24,7 +24,7 @@
<div class="error">{{ form_errors(form.author) }}</div>
{{ form_widget(form.author, {attr: {class: 'form-control', style: 'width: auto'}}) }}
</div>
{% if sourceType != 'album' %}
{% if form.offsetExists('composition') %}
<div class="form-group">
{{ form_label(form.composition) }}
<div class="error">{{ form_errors(form.composition) }}</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment