mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-05-23 06:06:56 +00:00
Reward price & save/delete button
This commit is contained in:
parent
4d3b882b89
commit
e6b4fe4d9d
1 changed files with 5 additions and 1 deletions
|
|
@ -57,9 +57,13 @@
|
|||
<label><input type=checkbox checked={:task.up}><i></i>Up</label>
|
||||
<label><input type=checkbox checked={:task.down}><i></i>Down</label>
|
||||
{/}
|
||||
{#if equal(:task.type, 'reward')}
|
||||
<label>Price<input type=text value={:task.price} /></label>
|
||||
{/}
|
||||
<a x-bind=click:toggleEdit data-selector="{{:task.id}}-edit" class="btn btn-primary">Save</a>
|
||||
<a x-bind=click:del class="btn btn-danger">Delete</a>
|
||||
</div>
|
||||
|
||||
|
||||
<newTask: nonvoid>
|
||||
<form data-task-type={{{type}}} x-bind=submit:addTask>
|
||||
{{{content}}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue