Просмотр исходного кода

Project is required.

git-svn-id: http://svn.redmine.org/redmine/trunk@15935 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 7 лет назад
Родитель
Сommit
7cce582c14
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      app/views/timelog/_form.html.erb

+ 1
- 1
app/views/timelog/_form.html.erb Просмотреть файл

@@ -8,7 +8,7 @@
<% elsif params[:issue_id] %>
<%= hidden_field_tag 'issue_id', params[:issue_id] %>
<% else %>
<p><%= f.select :project_id, project_tree_options_for_select(Project.allowed_to(:log_time).to_a, :selected => @time_entry.project, :include_blank => true) %></p>
<p><%= f.select :project_id, project_tree_options_for_select(Project.allowed_to(:log_time).to_a, :selected => @time_entry.project, :include_blank => true), :required => true %></p>
<% end %>
<% end %>
<p>

Загрузка…
Отмена
Сохранить