buy-link fix & value-entry fix

This commit is contained in:
Tyler Renelle 2012-02-11 16:30:27 -05:00
parent fc74c4640f
commit 595562b762
2 changed files with 19 additions and 10 deletions

View file

@ -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" />

View file

@ -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 { %>