mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 11:46:23 +00:00
Default habit-type selection bug
This commit is contained in:
parent
588ad0c900
commit
0edfdfc9d8
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@
|
|||
<%= f.text_field :name %>
|
||||
</div>
|
||||
<div class="field">
|
||||
<%= f.label :type %><br />
|
||||
<%= f.select :habit_type, options_for_select([['Always',1], ['Daily',2], ['One-time',3]]) %>
|
||||
<%= f.label :habit_type %><br />
|
||||
<%= f.select :habit_type, options_for_select([['Always',1], ['Daily',2], ['One-time',3]], @habit.habit_type) %>
|
||||
</div>
|
||||
<div class="field">
|
||||
<%= f.label :notes %><br />
|
||||
|
|
|
|||
Loading…
Reference in a new issue