@@ -12,12 +12,14 | |||||
12 | <% if User.current.allowed_to?(:log_time, @project) %> |
|
12 | <% if User.current.allowed_to?(:log_time, @project) %> | |
13 | <fieldset class="tabular"><legend><%= l(:button_log_time) %></legend> |
|
13 | <fieldset class="tabular"><legend><%= l(:button_log_time) %></legend> | |
14 | <%= labelled_fields_for :time_entry, @time_entry do |time_entry| %> |
|
14 | <%= labelled_fields_for :time_entry, @time_entry do |time_entry| %> | |
|
15 | <div class="splitcontent"> | |||
15 | <div class="splitcontentleft"> |
|
16 | <div class="splitcontentleft"> | |
16 | <p><%= time_entry.text_field :hours, :size => 6, :label => :label_spent_time %> <%= l(:field_hours) %></p> |
|
17 | <p><%= time_entry.text_field :hours, :size => 6, :label => :label_spent_time %> <%= l(:field_hours) %></p> | |
17 | </div> |
|
18 | </div> | |
18 | <div class="splitcontentright"> |
|
19 | <div class="splitcontentright"> | |
19 | <p><%= time_entry.select :activity_id, activity_collection_for_select_options %></p> |
|
20 | <p><%= time_entry.select :activity_id, activity_collection_for_select_options %></p> | |
20 | </div> |
|
21 | </div> | |
|
22 | </div> | |||
21 | <p><%= time_entry.text_field :comments, :size => 60 %></p> |
|
23 | <p><%= time_entry.text_field :comments, :size => 60 %></p> | |
22 | <% @time_entry.custom_field_values.each do |value| %> |
|
24 | <% @time_entry.custom_field_values.each do |value| %> | |
23 | <p><%= custom_field_tag_with_label :time_entry, value %></p> |
|
25 | <p><%= custom_field_tag_with_label :time_entry, value %></p> |
General Comments 0
You need to be logged in to leave comments.
Login now