add label on box
This commit is contained in:
parent
f1f08e150b
commit
997b90c3b2
|
@ -30,6 +30,10 @@ class StoresController < ApplicationController
|
|||
limit(LIMIT)
|
||||
@attach_array = Array.new
|
||||
@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
|
||||
|
||||
private
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<% @attach_array.each do |k|%>
|
||||
<div class="line_block">
|
||||
<p>
|
||||
c
|
||||
<%=@str_arr.shift%>
|
||||
</p>
|
||||
<table style="width: 100%">
|
||||
<thead>
|
||||
|
|
Loading…
Reference in New Issue