Skip to content

Commit

Permalink
Merge pull request #8 from JoshNorris/JoshNorris-patch-1
Browse files Browse the repository at this point in the history
Fix for #7 in OG repo.
  • Loading branch information
lcharette authored Jan 25, 2019
2 parents b03e26d + b9588fc commit 2b99ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/FormGenerator/FormGenerator.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ alert.generate(input) }}
{% else %}
{% if not input.hidden %}
<div class="form-group has-feedback">
{% if formLayout == 'horizontal' %}<div class="form-group has-feedback clearfix">{% else %}<div class="form-group has-feedback">{% endif %}
{% if formLayout == 'horizontal' %}<label for="{{input.id}}" class="col-sm-2 control-label">{% else %}<label for="{{input.id}}">{% endif %}
{% if input.label %}{{translate(input.label)}}{% else %}&nbsp;{% endif %}
</label>
Expand All @@ -30,4 +30,4 @@
</div>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}

0 comments on commit 2b99ea5

Please sign in to comment.