mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
The ‘for’ attribute is not valid HTML in the case of this because the emails are invalid character sets and the input has no ID with the email. This changes it to a data-name which is still searchable but doesn’t interfere with typical input behavior. The checkboxes no longer float-left, fixing an issue with the subscribe buttons leaning right in narrow windows. Fixes: #1491.
12 lines
557 B
Handlebars
12 lines
557 B
Handlebars
{{! Client-side Mustache template for rendering users in the stream creation modal.}}
|
|
<a href="#" class="subs_set_all_users">{{t "Check all" }}</a> |
|
|
<a href="#" class="subs_unset_all_users">{{t "Uncheck all" }}</a>
|
|
<input class="add-user-list-filter" name="user_list_filter" type="text" placeholder="{{t "Filter users" }}" />
|
|
<div id="user-checkboxes">
|
|
{{#each users}}
|
|
<label class="checkbox" data-name="{{this.email}}">
|
|
<input type="checkbox" name="user" value="{{this.email}}" /> {{this.full_name}} ({{this.email}})
|
|
</label>
|
|
{{/each}}
|
|
</div>
|