buy-link fix & value-entry fix
This commit is contained in:
@@ -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 { %>
|
||||
|
||||
Reference in New Issue
Block a user