]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/field_radio.tpl
Merge pull request #7963 from annando/issue-7659-a
[friendica.git] / view / templates / field_radio.tpl
index 1d7b56ec6a9675c1e2d061e12319fc8db1b417f7..7fe96a3dd80f8620d56f1c2b4f3f46681237c08d 100644 (file)
@@ -1,11 +1,7 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
-       
        <div class='field radio'>
                <label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
-               <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}>
-               <span class='field_help'>{{$field.3}}</span>
+               <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked{{/if}} aria-describedby={{$field.0}}_{{$field.2}}_tip'>
+               {{if $field.3}}
+               <span class='field_help' role='tooltip' id='{{$field.0}}_{{$field.2}}_tip'>{{$field.3 nofilter}}</span>
+               {{/if}}
        </div>