Skip to content

Commit

Permalink
1.make time entry support bulk edit;
Browse files Browse the repository at this point in the history
  • Loading branch information
yaocanwei committed Jan 3, 2018
1 parent 85ea5ed commit d939d6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/timelog/bulk_edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id, :id => nil)}.join.html_safe %>
<div class="box tabular">
<div>
<p>
<label for="time_entry_project_id"><%= l(:field_project) %></label>
<%= select :time_entry, :project_id, project_tree_options_for_select(Project.allowed_to(:log_time).to_a, :include_blank => true), :required => true %>
</p>
<p>
<label for="time_entry_issue_id"><%= l(:field_issue) %></label>
<%= text_field :time_entry, :issue_id, :size => 6 %>
Expand Down

0 comments on commit d939d6a

Please sign in to comment.