Description of problem: Labels on 'New Sync Plan' page (e.g. 'Name', 'Description') have empty 'for' attribute, like this: <label class="control-label col-sm-2 ng-binding" for="">Name</label> Other pages have this attribute set to label name ("name", "description", etc). For example, here's label from 'New Host' page: <label class="col-md-2 control-label" for="name">Name *</label> That 'for' attribute is commonly used by our automation to determine the label so it would be great to make 'New Sync Plan' page consistent with the rest of pages. Version-Release number of selected component (if applicable): Sat 6.1 GA snap 8 How reproducible: Always Steps to Reproduce: 1. Go to Content -> Sync Plans -> New Sync Plan. 2. Open page source, check the attributes of labels present on the page ('Name', 'Description', 'Interval' etc.) Actual results: 'for' attribute is empty: <label class="control-label col-sm-2 ng-binding" for="">Name</label> <label class="control-label col-sm-2 ng-binding" for="">Description</label> Expected results: <label class="control-label col-sm-2 ng-binding" for="name">Name</label> <label class="control-label col-sm-2 ng-binding" for="description">Description</label> Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Per 6.3 planning, moving out non acked bugs to the backlog
Walden, would this be a valid bug? It looks it may be coming from code like: <div bst-form-group label="{{ 'Name' | translate }}">
(In reply to Brad Buckingham from comment #5) > Walden, would this be a valid bug? > > It looks it may be coming from code like: > <div bst-form-group label="{{ 'Name' | translate }}"> This is a bug. The "field" attribute should be set from the input ID here [1] and referenced in the label here [2]. The fact that this isn't working makes this a bug. [1] https://github.com/Katello/bastion/blob/master/app/assets/javascripts/bastion/components/bst-form-group.directive.js#L53 [2] https://github.com/Katello/bastion/blob/master/app/assets/javascripts/bastion/components/views/bst-form-group.html#L2
Created Red Mine issue for this: http://projects.theforeman.org/issues/17752
This is an older bug which I do not envision being addressed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.