Actions
Bug #16717
closedinput_group_btn on New Host form generates copy of HTML in input field attributes
Description
On the New Host form, the Name field has an entire copy of the input_group_btn
randomise button HTML stored as an input_group_btn
attribute on the input field:
<div class="input-group"><input value="cobalt.example.com" input_group_btn="<a class="btn btn-default" title="»Generate new random name. Visit Settings to disable this feature.«" href="#" onclick="randomizeName(); return false;"><span class="glyphicon glyphicon-random "></span> </a>" class="form-control " focus_on_load="true" type="text" name="host[name]" id="host_name"><span class="input-group-btn"><a class="btn btn-default" title="" href="#" onclick="randomizeName(); return false;" data-original-title="»Generate new random name. Visit Settings to disable this feature.«"><span class="glyphicon glyphicon-random "></span> </a></span></div>
The option isn't being deleted from the options hash in the field
helper before being passed to the text field generator.
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3897 added
Updated by Dominic Cleal about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 9cd2bc6c78214a3ffe688b4e8e59985cec978e0b.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 189
Actions