From 9fe4c9f8a28da156c3f1984abde1df59833a8d3c Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Sat, 19 Jul 2014 10:44:23 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=9E=E8=B5=9B=E4=BD=9C?=
=?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E4=B8=8E=E5=88=9B=E5=BB=BA=E4=BD=9C=E5=93=81=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../contests/show_attendingcontest.html.erb | 22 ++++++++++++-------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/app/views/contests/show_attendingcontest.html.erb b/app/views/contests/show_attendingcontest.html.erb
index ab619e8ae..b9c09fdef 100644
--- a/app/views/contests/show_attendingcontest.html.erb
+++ b/app/views/contests/show_attendingcontest.html.erb
@@ -91,7 +91,7 @@
<%= l(:label_work_name) %>
* :
- <%= f.text_field :name, :required => true, :size => 60, :style => "width:400px;" %> |
+ <%= f.text_field :name, :required => true, :size => 60, :style => "width:350px;" %> |
(<%= l(:label_workname_lengthlimit) %>)
@@ -101,7 +101,7 @@
<%= l(:label_running_platform) %>
* :
- <%= f.text_field :android_min_version_available, :required => true, :size => 60, :style => "width:400px;" %> |
+ <%= f.text_field :android_min_version_available, :required => true, :size => 60, :style => "width:350px;" %> |
@@ -111,7 +111,7 @@
<%= l(:label_work_description) %>
* :
- <%= f.text_field :description, :required => true, :size => 60, :style => "width:400px;" %> |
+ <%= f.text_field :description, :required => true, :size => 60, :style => "width:350px;" %> |
(<%= l(:label_workdescription_lengthlimit) %>)
@@ -121,7 +121,7 @@
<%= l(:label_softapplication_developers) %>
* :
- <%= f.text_field :application_developers, :required => true, :size => 60, :style => "width:400px;" %> |
+ <%= f.text_field :application_developers, :required => true, :size => 60, :style => "width:350px;" %> |
@@ -130,7 +130,7 @@
<%= l(:label_work_deposit_project) %>:
- <%= select_tag 'project', options_for_select(select_option_helper(@option)), :name => 'project', :class => 'grayline2' %>
+ <%= select_tag 'project', options_for_select(select_option_helper(@option)), :name => 'project', :class => 'grayline2',:style => "width:358px;" %>
<%= link_to l(:label_create_new_projects), new_project_path(course: 0, project_type: 0), :target => '_blank' %>
@@ -240,7 +240,10 @@
<%= l(:label_profile) %>: |
- <%= c_project.project.description.truncate(90, omission: '...') %> |
+
+ <%#= c_project.project.description.truncate(90, omission: '...') %>
+ <%= c_project.project.description %>
+ |
@@ -276,7 +279,10 @@
<%= l(:label_profile) %>: |
- <%= c_softapplication.softapplication.description.truncate(90, omission: '...') %> |
+
+ <%#= c_softapplication.softapplication.description.truncate(90, omission: '...') %>
+ <%= c_softapplication.softapplication.description %>
+ |
@@ -330,7 +336,7 @@
<% if ((User.current.id == @contest.author_id) && (@contest.deadline > Date.today))||User.current.admin %>
-
+
<%= toggle_link '评奖', c_softapplication.id.to_s %>