1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00
documize/gui/app/templates/components/document/settings-general.hbs

26 lines
870 B
Handlebars
Raw Normal View History

{{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')
icon=constants.Icon.Settings}}
<form class="view-document">
<div class="form-group">
2022-03-09 15:20:16 -05:00
<label for="document-name">{{localize 'name'}}</label>
{{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"}}
</div>
<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>
</div>
{{ui/ui-button
color=constants.Color.Green
icon=constants.Icon.Settings
2022-03-01 22:40:51 -05:00
label=(localize 'save')
light=true
onClick=(action "onSave")}}
</form>