diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-22 18:52:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-22 18:52:00 +0000 |
commit | 898fac293b3d8042de3c1747776fac90d3ed40fa (patch) | |
tree | 1060a3fe53e880892ebb78df12d5311bf14b54c7 /app/views/timelog | |
parent | 590a829a06d4106f7827ddf242a0de5c0ca3e197 (diff) | |
download | redmine-898fac293b3d8042de3c1747776fac90d3ed40fa.tar.gz redmine-898fac293b3d8042de3c1747776fac90d3ed40fa.zip |
Adds custom fields on time entries (#772).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1689 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/edit.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/timelog/edit.rhtml b/app/views/timelog/edit.rhtml index 7e8cc4591..0dd3503ec 100644 --- a/app/views/timelog/edit.rhtml +++ b/app/views/timelog/edit.rhtml @@ -10,6 +10,9 @@ <p><%= f.text_field :hours, :size => 6, :required => true %></p>
<p><%= f.text_field :comments, :size => 100 %></p>
<p><%= f.select :activity_id, activity_collection_for_select_options, :required => true %></p>
+<% @time_entry.custom_field_values.each do |value| %>
+ <p><%= custom_field_tag_with_label :time_entry, value %></p>
+<% end %>
</div>
<%= submit_tag l(:button_save) %>
|