Files
zulip/static/templates/new_stream_users.handlebars
Brock Whittaker 5de33c94be Add padding to checkboxes and fix HTML.
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.
2016-08-26 15:03:45 -07:00

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>