diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-09 18:15:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-09 18:15:55 +0000 |
commit | 9636882c1e890c7d6dda6b974b9765bebe3f880a (patch) | |
tree | 626d15eb8cb6f7cb17fc514abb5ad97293d95efe /app/views/timelog/edit.html.erb | |
parent | 312ffe43c7efa910d3aa987826e4b8b5f358139e (diff) | |
download | redmine-9636882c1e890c7d6dda6b974b9765bebe3f880a.tar.gz redmine-9636882c1e890c7d6dda6b974b9765bebe3f880a.zip |
Use #labelled_form_for instead of #labelled_tabular_form_for.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog/edit.html.erb')
-rw-r--r-- | app/views/timelog/edit.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/edit.html.erb b/app/views/timelog/edit.html.erb index c9b575179..0f8a81e9e 100644 --- a/app/views/timelog/edit.html.erb +++ b/app/views/timelog/edit.html.erb @@ -1,6 +1,6 @@ <h2><%= l(:label_spent_time) %></h2> -<% labelled_tabular_form_for(:time_entry, @time_entry, :url => { +<% labelled_form_for(:time_entry, @time_entry, :url => { :action => (@time_entry.new_record? ? 'create' : 'update'), :id => @time_entry, :project_id => @time_entry.project @@ -9,7 +9,7 @@ <%= error_messages_for 'time_entry' %> <%= back_url_hidden_field_tag %> -<div class="box"> +<div class="box tabular"> <p><%= f.text_field :issue_id, :size => 6 %> <em><%= h("#{@time_entry.issue.tracker.name} ##{@time_entry.issue.id}: #{@time_entry.issue.subject}") if @time_entry.issue %></em></p> <p><%= f.text_field :spent_on, :size => 10, :required => true %><%= calendar_for('time_entry_spent_on') %></p> <p><%= f.text_field :hours, :size => 6, :required => true %></p> |