socialforge/app/views/timelog/new.html.erb

9 lines
369 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<h3><%= l(:label_spent_time) %></h3>
<%= labelled_form_for @time_entry, :url => time_entries_path do |f| %>
<%= hidden_field_tag 'project_id', params[:project_id] if params[:project_id] %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<% end %>