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