Skip to content

Commit

Permalink
Fix for #7 in OG repo.
Browse files Browse the repository at this point in the history
See issue #7 (comment).
  • Loading branch information
JoshNorris authored Jan 13, 2019
1 parent 4d7bea9 commit b9588fc
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 b9588fc

Please sign in to comment.