Use labels

This commit is contained in:
Michael 2020-02-05 16:54:44 +00:00
parent 0b66970ec9
commit 2ba3cfb42c
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
<form class="intro-approve-form" action="{{$action}}" method="post">
{{include file="field_checkbox.tpl" field=$hidden}}
<div role="radiogroup" aria-labelledby="connection_type">
<div id="connection_type">{{$lbl_connection_type}}</div>
<label id="connection_type">{{$lbl_connection_type}}</label>
{{include file="field_radio.tpl" field=$friend}}
{{include file="field_radio.tpl" field=$follower}}
</div>

View File

@ -56,7 +56,7 @@
<form class="intro-approve-form" {{if $request}}action="{{$request}}" method="get"{{else}}action="{{$action}}" method="post"{{/if}}>
{{include file="field_checkbox.tpl" field=$hidden}}
<div role="radiogroup" aria-labelledby="connection_type">
<div id="connection_type">{{$lbl_connection_type}}</div>
<label id="connection_type">{{$lbl_connection_type}}</label>
{{include file="field_radio.tpl" field=$friend}}
{{include file="field_radio.tpl" field=$follower}}
</div>