From 0763963ca4a8c35ec6034bf020a9414be67f6af5 Mon Sep 17 00:00:00 2001 From: huang Date: Tue, 29 Dec 2015 18:12:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_edit.html.erb | 3 +-- app/views/issues/show.html.erb | 27 +++++++++++---------------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/app/views/issues/_edit.html.erb b/app/views/issues/_edit.html.erb index 529de3480..ccd37dc91 100644 --- a/app/views/issues/_edit.html.erb +++ b/app/views/issues/_edit.html.erb @@ -3,13 +3,12 @@ <%= import_ke(enable_at: true, prettify: false, init_activity: false) %> <% end %> -<%= labelled_form_for @issue, :html => {:id => 'issue-form', :multipart => true,:remote=>true} do |f| %> +<%= labelled_form_for @issue, :html => {:id => 'issue-form', :multipart => true, :remote => true} do |f| %> <%= error_messages_for 'issue', 'time_entry' %> <%= render :partial => 'conflict' if @conflict %>
<%= render :partial => 'issues/form', :locals => {:f => f} %> -
<%# if @journals.present? %> diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 4af757c77..b9d463855 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -26,20 +26,15 @@
-
-
-
回复(<%= @issue.journals.count %>)
-
-
- -
- <%= render :partial => 'issue_replies',:locals => {:issue=>@issue,:replies_all_i=>0} %> -
- - - -
- +
+
+
回复(<%= @issue.journals.count %>)
+
+
+
+ <%= render :partial => 'issue_replies',:locals => {:issue => @issue, :replies_all_i => 0} %> +
+ + - - \ No newline at end of file + \ No newline at end of file