Issue forms cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8101 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
62fb6e0f4b
commit
9cc1cb5281
|
@ -1,9 +1,4 @@
|
||||||
<% labelled_tabular_form_for :issue, @issue,
|
<% labelled_form_for @issue, :html => {:id => 'issue-form', :multipart => true} do |f| %>
|
||||||
:url => {:action => 'update', :id => @issue},
|
|
||||||
:html => {:id => 'issue-form',
|
|
||||||
:class => nil,
|
|
||||||
:method => :put,
|
|
||||||
:multipart => true} do |f| %>
|
|
||||||
<%= error_messages_for 'issue', 'time_entry' %>
|
<%= error_messages_for 'issue', 'time_entry' %>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<% if @edit_allowed || !@allowed_statuses.empty? %>
|
<% if @edit_allowed || !@allowed_statuses.empty? %>
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<h2><%=l(:label_issue_new)%></h2>
|
<h2><%=l(:label_issue_new)%></h2>
|
||||||
|
|
||||||
<% labelled_tabular_form_for :issue, @issue, :url => {:controller => 'issues', :action => 'create', :project_id => @project},
|
<% labelled_form_for @issue, :url => project_issues_path(@project),
|
||||||
:html => {:multipart => true, :id => 'issue-form', :class => 'tabular new-issue-form'} do |f| %>
|
:html => {:id => 'issue-form', :multipart => true} do |f| %>
|
||||||
<%= error_messages_for 'issue' %>
|
<%= error_messages_for 'issue' %>
|
||||||
<div class="box">
|
<div class="box tabular">
|
||||||
<%= render :partial => 'issues/form', :locals => {:f => f} %>
|
<%= render :partial => 'issues/form', :locals => {:f => f} %>
|
||||||
</div>
|
</div>
|
||||||
<%= submit_tag l(:button_create) %>
|
<%= submit_tag l(:button_create) %>
|
||||||
|
|
Loading…
Reference in New Issue