2018-12-20 14:31:59 +00:00
|
|
|
{{layout/logo-heading
|
2022-03-09 15:20:16 -05:00
|
|
|
title=(localize 'content')
|
2022-03-19 18:07:38 -04:00
|
|
|
desc=(localize 'settings')
|
2018-12-20 14:31:59 +00:00
|
|
|
icon=constants.Icon.Settings}}
|
2018-06-15 14:25:05 +01:00
|
|
|
|
2018-12-20 14:31:59 +00:00
|
|
|
<form class="view-document">
|
|
|
|
<div class="form-group">
|
2022-03-09 15:20:16 -05:00
|
|
|
<label for="document-name">{{localize 'name'}}</label>
|
2018-12-20 14:31:59 +00:00
|
|
|
{{focus-input id="document-name" type="text" value=docName
|
2022-03-09 15:20:16 -05:00
|
|
|
class=(if hasNameError "form-control mousetrap is-invalid" "form-control mousetrap") placeholder="" autocomplete="off"}}
|
2018-12-20 14:31:59 +00:00
|
|
|
</div>
|
2018-06-15 14:25:05 +01:00
|
|
|
|
2018-12-20 14:31:59 +00:00
|
|
|
<div class="form-group">
|
2022-03-09 15:20:16 -05:00
|
|
|
<label for="document-excerpt">{{localize 'description'}}</label>
|
|
|
|
{{textarea id="document-excerpt" rows="4" value=docExcerpt class="form-control mousetrap" placeholder="" autocomplete="off"}}
|
|
|
|
<small class="form-text text-muted">{{localize 'excerpt'}}</small>
|
2018-12-20 14:31:59 +00:00
|
|
|
</div>
|
2018-06-15 14:25:05 +01:00
|
|
|
|
2018-12-20 14:31:59 +00:00
|
|
|
{{ui/ui-button
|
|
|
|
color=constants.Color.Green
|
|
|
|
icon=constants.Icon.Settings
|
2022-03-01 22:40:51 -05:00
|
|
|
label=(localize 'save')
|
2018-12-20 14:31:59 +00:00
|
|
|
light=true
|
|
|
|
onClick=(action "onSave")}}
|
|
|
|
</form>
|