From 1bb2363b098ff3a0e2a52dbc713cff8ac520f9b2 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 29 Mar 2017 15:40:54 +0800 Subject: [PATCH] =?UTF-8?q?tpi=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_game_show.html.erb | 2 +- app/views/games/show.html.erb | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/games/_game_show.html.erb b/app/views/games/_game_show.html.erb index 85220be93..93f4e405f 100644 --- a/app/views/games/_game_show.html.erb +++ b/app/views/games/_game_show.html.erb @@ -41,7 +41,7 @@ -<%= render :partial => 'games/repository' %> + <%= render :partial => 'games/repository' %> <%= render :partial => 'games/exec_results' %> <%#= render :partial => 'games/desc_full_show' %> diff --git a/app/views/games/show.html.erb b/app/views/games/show.html.erb index ee7559f3e..ea4f2e7d6 100644 --- a/app/views/games/show.html.erb +++ b/app/views/games/show.html.erb @@ -1,8 +1,11 @@ <%= javascript_include_tag 'baiduTemplate', 'jquery.datetimepicker.js' %> <%= javascript_include_tag "/assets/codemirror/codemirror_python_ruby_c" %> <%= stylesheet_link_tag "/assets/codemirror/codemirror" %> +
+ <%= render :partial => "game_show" %> +
+ -<%= render :partial => "game_show" %>