Skip to content

Commit 556203e

Browse files
committed
Merge pull request #414 from stramel/bugfix/hide-title-on-fieldset
fix(fieldset): make fieldsets properly respect notitle
2 parents e2734c8 + f70cc4e commit 556203e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<fieldset ng-disabled="form.readonly" class="schema-form-fieldset {{form.htmlClass}}">
2-
<legend ng-show="form.title">{{ form.title }}</legend>
2+
<legend ng-class="{'sr-only': !showTitle() }">{{ form.title }}</legend>
33
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
44
<div ng-transclude></div>
55
</fieldset>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<fieldset ng-disabled="form.readonly" class="schema-form-fieldset {{form.htmlClass}}">
2-
<legend ng-show="form.title">{{ form.title }}</legend>
2+
<legend ng-class="{'sr-only': !showTitle() }">{{ form.title }}</legend>
33
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
44
<sf-decorator ng-repeat="item in form.items" form="item"></sf-decorator>
55
</fieldset>

0 commit comments

Comments
 (0)