mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
buy-link fix & value-entry fix
This commit is contained in:
parent
fc74c4640f
commit
595562b762
2 changed files with 19 additions and 10 deletions
|
|
@ -16,15 +16,24 @@
|
|||
<%= EJS.Helpers.prototype.text_area_tag('notes', notes) %>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="up">Vote Up:</label>
|
||||
<input type="text" name="up" id="up" value="<%= up %>" >
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="down">Vote Down:</label>
|
||||
<input type="text" name="down" id="down" value="<%= down %>" >
|
||||
</div>
|
||||
<% if (habit_type==1) { %>
|
||||
<div class="field">
|
||||
<label for="up">Vote Up:</label>
|
||||
<input type="text" name="up" id="up" value="<%= up %>" >
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="down">Vote Down:</label>
|
||||
<input type="text" name="down" id="down" value="<%= down %>" >
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (habit_type==4) { %>
|
||||
<div class="field">
|
||||
<label for="score">Value:</label>
|
||||
<%= EJS.Helpers.prototype.text_field_tag("score", score) %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<div class="actions">
|
||||
<input type="submit" value="Update Habit" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<!-- Rewards -->
|
||||
<% } else if (habit_type==4) { %>
|
||||
<a class="buy-link" href=#><img src="assets/dollar.png" /></a>
|
||||
<a class="vote-down" href=#><img src="assets/dollar.png" /></a>
|
||||
|
||||
<!-- Daily & Todos -->
|
||||
<% } else { %>
|
||||
|
|
|
|||
Loading…
Reference in a new issue