zulip/static/templates/subscription_table_body.han...

17 lines
544 B
Handlebars
Raw Normal View History

{{#if can_create_streams}}
<div id="create_stream_row">
<div class="subscription_table_elem">
<form id="add_new_subscription" class="form-inline" action="">
<input type="text" name="stream_name" id="create_stream_name"
placeholder="Stream name" value="" />
<input type="submit" class="zulip-button blue-button"
id="create_stream_button" value="Create new stream" />
</form>
</div>
</div>
{{/if}}
{{#each subscriptions}}
{{partial "subscription"}}
{{/each}}