diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-05-20 09:23:44 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-20 09:23:44 +0200 |
commit | 7e99931733c75ded40c5c6bdd12a42213ccb7a2e (patch) | |
tree | 579ab25266cd2fad5af6eb43c8e935a45c870f14 /view/tpl/jot.tpl | |
parent | 7a1afc315d51366efcf604fc1fe3737375aac799 (diff) | |
download | volse-hubzilla-7e99931733c75ded40c5c6bdd12a42213ccb7a2e.tar.gz volse-hubzilla-7e99931733c75ded40c5c6bdd12a42213ccb7a2e.tar.bz2 volse-hubzilla-7e99931733c75ded40c5c6bdd12a42213ccb7a2e.zip |
implement jot reset button
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-x | view/tpl/jot.tpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 9aa330c40..0d1b4bd0d 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -9,6 +9,7 @@ </div> {{/if}} <div class="mb-4" id="profile-jot-wrapper"> + {{if $parent}} <input type="hidden" name="parent" value="{{$parent}}" /> {{/if}} @@ -41,6 +42,11 @@ </div> {{/if}} <div id="jot-text-wrap"> + {{if $reset}} + <button id="profile-jot-reset" class="btn btn-outline-secondary btn-sm d-none border-0" title="{{$reset}}" onclick="itemCancel(); return false;"> + <i class="fa fa-close"></i> + </button> + {{/if}} <textarea class="profile-jot-text" id="profile-jot-text" name="body" tabindex="2" placeholder="{{$placeholdtext}}" >{{$content}}</textarea> </div> {{if $attachment}} |