2018-06-15 14:25:05 +01:00
|
|
|
<div class="content-zone">
|
|
|
|
<div class="explainer-header">Categories & Tags</div>
|
|
|
|
<p class="explainer-text explainer-gap">Categorize your content, assign tags to suppliment</p>
|
|
|
|
|
2018-07-05 12:02:10 -04:00
|
|
|
<h1>Specify up to {{appMeta.maxTags}} tags</h1>
|
2018-06-15 14:25:05 +01:00
|
|
|
<p class="form-text text-muted">Lowercase, characters, numbers, hyphens only</p>
|
|
|
|
<form>
|
2018-07-05 12:02:10 -04:00
|
|
|
{{#each tagz as |tag|}}
|
|
|
|
<div class="input-group mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text">#</span>
|
|
|
|
</div>
|
2018-12-08 20:54:19 +00:00
|
|
|
{{input type="text" id=(concat "add-tag-field-" tag.number) class="form-control mousetrap tag-input" placeholder="Tag name" value=tag.value}}
|
2018-06-15 14:25:05 +01:00
|
|
|
</div>
|
2018-07-05 12:02:10 -04:00
|
|
|
{{/each}}
|
2018-06-15 14:25:05 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<div class="mt-5" />
|
|
|
|
|
|
|
|
<h1>Assign categories</h1>
|
|
|
|
<p class="form-text text-muted">Categories allow you divide a space into logical chunks</p>
|
|
|
|
|
2018-12-08 20:54:19 +00:00
|
|
|
{{ui/ui-list-picker items=categories nameField="category" singleSelect=false}}
|
2018-06-15 14:25:05 +01:00
|
|
|
{{#unless selectedCategories}}
|
|
|
|
<p class="text-danger">This space has no categories defined yet.</p>
|
|
|
|
{{/unless}}
|
|
|
|
|
2018-12-12 13:35:16 +00:00
|
|
|
<button type="submit" class="btn btn-success text-uppercase bold-700 mt-5" {{action "onSave"}}>Save</button>
|
2018-06-15 14:25:05 +01:00
|
|
|
</div>
|
|
|
|
|