Sha256: 1555773625a0bd863f385653cd7991b94dd66991fd48d04d9765316f55dcc913

Contents?: true

Size: 844 Bytes

Versions: 6

Compression:

Stored size: 844 Bytes

Contents

#exam-exam-portion-attachments
	= index_header do
		#new-exam-exam-portion-attachment.hide
    .pull-left
	    = count_div 'exam-exam-portion-attachments-count' do
	      = print_count @exam_portion.attachments.count, t_attachment_list
    .pull-right
	    = ajax_link_to_new t(:'attachment.new'), [:new, @exam, @exam_portion, :attachment], id: "new-exam-exam-portion-attachment-link"

	= hr

	= index_body do
		= table_for 'exam-exam-portion-attachments-index' do
		  thead
		    tr
		      = th t(:'attachment.name')
		      = th t(:'attachment.description')
		      = th t(:'attachment.file_name')
		      = th t(:'attachment.file_type')
		      = th t(:'attachment.file_size')
		      = th_actions 3
		  tbody
		    = render partial: 'gaku/exams/exam_portions/attachments/attachment', collection: @exam_portion.attachments, as: :attachment

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim
gaku-0.0.3 core/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim
gaku-0.0.2 core/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim
gaku_core-0.0.2 app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim
gaku-0.0.1 core/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim
gaku_core-0.0.1 app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim