OSDN Git Service

remove unused view templates
authorokimoto <okimoto@good-day.co.jp>
Thu, 18 Feb 2010 09:31:55 +0000 (18:31 +0900)
committerokimoto <okimoto@good-day.co.jp>
Thu, 18 Feb 2010 09:31:55 +0000 (18:31 +0900)
app/views/admin/problem_groups/create.html.erb [deleted file]
app/views/admin/problem_groups/destroy.html.erb [deleted file]
app/views/admin/problem_groups/update.html.erb [deleted file]
app/views/problems/result.html.erb [deleted file]

diff --git a/app/views/admin/problem_groups/create.html.erb b/app/views/admin/problem_groups/create.html.erb
deleted file mode 100644 (file)
index 9254ad4..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<h1>Admin::ProblemGroups#create</h1>
-<p>Find me in app/views/admin/problem_groups/create.html.erb</p>
diff --git a/app/views/admin/problem_groups/destroy.html.erb b/app/views/admin/problem_groups/destroy.html.erb
deleted file mode 100644 (file)
index e1cdee0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<h1>Admin::ProblemGroups#destroy</h1>
-<p>Find me in app/views/admin/problem_groups/destroy.html.erb</p>
diff --git a/app/views/admin/problem_groups/update.html.erb b/app/views/admin/problem_groups/update.html.erb
deleted file mode 100644 (file)
index 70209c4..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<h1>Admin::ProblemGroups#update</h1>
-<p>Find me in app/views/admin/problem_groups/update.html.erb</p>
diff --git a/app/views/problems/result.html.erb b/app/views/problems/result.html.erb
deleted file mode 100644 (file)
index d0f1880..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<%- @title = "判定" -%>
-<%- content_for(:script) do -%>
-  <%= javascript_include_tag "ASCIIMathML" %>
-<%- end -%>
-<h2><%= @title %></h2>
-
-<table class="results">
-  <thead>
-    <tr>
-      <th>&nbsp;</th>
-      <th>あなたの答え</th>
-      <th>正しい答え</th>
-      <th>判定</th>
-    </tr>
-  </thead>
-  <tbody>
-    <%- @results.each_with_index do |result, index| -%>
-      <tr>
-        <td><%=h index+1 %></td>
-        <td><%=h result.answer %></td>
-        <td><%=h result.example_solution %></td>
-        <td><%= judgement(result.correct?) %></td>
-      </tr>
-    <%- end -%>
-  </tbody>
-</table>
-
-<%- unless @results.empty? -%>
-  <%- if @results.all?(&:correct?) -%>
-    <p>全問正解です。おめでとう!</p>
-  <%- else -%>
-    <p>まちがいがあります。</p>
-  <%- end -%>
-<%- end -%>