Sha256: 35d47e6619a5748c53696fa81c67b7e58c16cf64d36a49b7794f670d97a0dab7

Contents?: true

Size: 615 Bytes

Versions: 16

Compression:

Stored size: 615 Bytes

Contents

<%- if @exam_syllabus.errors.any? %>
	$('#new-existing-exam-errors').html('<%= j render("gaku/shared/errors", {target: @exam_syllabus.exam}) %>');
<%- else %>
	$('#new-existing-exam').html('<%= j render("form", {syllabus: @syllabus}) %>');
	$('#new-existing-exam').slide();
	$('#new-existing-exam-link').show()

  $('.exams-count').html("<%= @exams_count %>");
	$('.syllabus-exams-count').html("<%= print_count(@exams_count, t(:'exam.list')) %>");
  $('#syllabus-exams-index tbody').append('<%= j render("gaku/syllabuses/exams/exam", {exam: @exam_syllabus.exam}) %>');
	showNotice("<%= render_flash %>");
<% end %>

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_frontend-0.3.0 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.3.0.pre.4 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.3.0.pre.3 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.3.0.pre.2 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.3.0.pre.1 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.3.0.pre.0 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku-0.2.4 frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.2.4 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku-0.2.3 frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.2.3 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku-0.2.2 frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.2.2 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku-0.2.1 frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.2.1 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku-0.2.0 frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
gaku_frontend-0.2.0 app/views/gaku/syllabuses/exam_syllabuses/create.js.erb