@@ -1,9 +1,4 | |||
|
1 | <% labelled_tabular_form_for :issue, @issue, | |
|
2 | :url => {:action => 'update', :id => @issue}, | |
|
3 | :html => {:id => 'issue-form', | |
|
4 | :class => nil, | |
|
5 | :method => :put, | |
|
6 | :multipart => true} do |f| %> | |
|
1 | <% labelled_form_for @issue, :html => {:id => 'issue-form', :multipart => true} do |f| %> | |
|
7 | 2 | <%= error_messages_for 'issue', 'time_entry' %> |
|
8 | 3 | <div class="box"> |
|
9 | 4 | <% if @edit_allowed || !@allowed_statuses.empty? %> |
@@ -1,9 +1,9 | |||
|
1 | 1 | <h2><%=l(:label_issue_new)%></h2> |
|
2 | 2 | |
|
3 | <% labelled_tabular_form_for :issue, @issue, :url => {:controller => 'issues', :action => 'create', :project_id => @project}, | |
|
4 |
:html => {: |
|
|
3 | <% labelled_form_for @issue, :url => project_issues_path(@project), | |
|
4 | :html => {:id => 'issue-form', :multipart => true} do |f| %> | |
|
5 | 5 | <%= error_messages_for 'issue' %> |
|
6 | <div class="box"> | |
|
6 | <div class="box tabular"> | |
|
7 | 7 | <%= render :partial => 'issues/form', :locals => {:f => f} %> |
|
8 | 8 | </div> |
|
9 | 9 | <%= submit_tag l(:button_create) %> |
General Comments 0
You need to be logged in to leave comments.
Login now