summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/timelog/_form.html.erb')
-rw-r--r--app/views/timelog/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/_form.html.erb b/app/views/timelog/_form.html.erb
index 5b0ec6aac..59198d0fb 100644
--- a/app/views/timelog/_form.html.erb
+++ b/app/views/timelog/_form.html.erb
@@ -18,7 +18,7 @@
</span>
</p>
<p><%= f.date_field :spent_on, :size => 10, :required => true %><%= calendar_for('time_entry_spent_on') %></p>
- <p><%= f.text_field :hours, :size => 6, :required => true %></p>
+ <p><%= f.text_field :hours, :size => 6, :required => true, :value => format_hours(@time_entry.hours) %></p>
<p><%= f.text_field :comments, :size => 100, :maxlength => 1024 %></p>
<p><%= f.select :activity_id, activity_collection_for_select_options(@time_entry), :required => true %></p>
<% @time_entry.custom_field_values.each do |value| %>