summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/new.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-10 17:35:09 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-10 17:35:09 +0000
commit8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc (patch)
treedf8133e762edab7ead32818174f765f590e7de0d /app/views/timelog/new.html.erb
parent4fc8c11cc06d3682f64f985e030ae6f57bd92be1 (diff)
downloadredmine-8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc.tar.gz
redmine-8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc.zip
Separated new/edit views for the timelog controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8628 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog/new.html.erb')
-rw-r--r--app/views/timelog/new.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/timelog/new.html.erb b/app/views/timelog/new.html.erb
new file mode 100644
index 000000000..fe6277738
--- /dev/null
+++ b/app/views/timelog/new.html.erb
@@ -0,0 +1,6 @@
+<h2><%= l(:label_spent_time) %></h2>
+
+<% labelled_form_for @time_entry, :url => project_time_entries_path(@time_entry.project) do |f| %>
+ <%= render :partial => 'form', :locals => {:f => f} %>
+ <%= submit_tag l(:button_save) %>
+<% end %>