add label on box
This commit is contained in:
parent
f1f08e150b
commit
997b90c3b2
|
@ -30,6 +30,10 @@ class StoresController < ApplicationController
|
||||||
limit(LIMIT)
|
limit(LIMIT)
|
||||||
@attach_array = Array.new
|
@attach_array = Array.new
|
||||||
@attach_array.push(@projects_attach, @courses_attach, @homeworks_attach, @memos_attach)
|
@attach_array.push(@projects_attach, @courses_attach, @homeworks_attach, @memos_attach)
|
||||||
|
@str_arr = [ l(:label_project_deposit),
|
||||||
|
l(:label_course_practice),
|
||||||
|
l(:label_contest_innovate),
|
||||||
|
l(:label_forum) ]
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
<% @attach_array.each do |k|%>
|
<% @attach_array.each do |k|%>
|
||||||
<div class="line_block">
|
<div class="line_block">
|
||||||
<p>
|
<p>
|
||||||
c
|
<%=@str_arr.shift%>
|
||||||
</p>
|
</p>
|
||||||
<table style="width: 100%">
|
<table style="width: 100%">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
Loading…
Reference in New Issue