To achieve replacement, this commit also adds support for:
- clearSelectionLabel which will allows to unselect any chosen category
- select-box inside a modal
- fixes minor css positioning issues
Note: {{category-chooser}} will be removed in the next weeks.
18 lines
637 B
Handlebars
18 lines
637 B
Handlebars
{{#d-modal-body id="move-selected" title="topic.split_topic.title"}}
|
|
{{{i18n 'topic.split_topic.instructions' count=selectedPostsCount}}}
|
|
|
|
<form>
|
|
<label>{{i18n 'topic.split_topic.topic_name'}}</label>
|
|
{{text-field value=topicName placeholderKey="composer.title_placeholder" elementId='split-topic-name'}}
|
|
|
|
<label>{{i18n 'categories.category'}}</label>
|
|
{{category-select-box value=categoryId class="small"}}
|
|
</form>
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
{{#d-button class="btn-primary" disabled=buttonDisabled action="movePostsToNewTopic"}}
|
|
{{d-icon 'sign-out'}} {{buttonTitle}}
|
|
{{/d-button}}
|
|
</div>
|