JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "quiz_create.blade.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/resources/views/admin/course/quiz_create.blade.php
File size: 3.79 KB
MIME-type: text/plain
Charset: utf-8
<form action="{{ route('admin.quiz.store') }}" method="post" enctype="multipart/form-data">@csrf
<div class="row">
<div class="col-12">
<div class="mb-3">
<label for="title" class="form-label ol-form-label">{{ get_phrase('Title') }}</label>
<input type="text" name="title" class="form-control ol-form-control" id="title" required>
</div>
<div class="mb-3">
<label for="section" class="form-label ol-form-label">{{ get_phrase('Section') }}</label>
<select class="ol-form-control select select2" data-toggle="select2" id="section" name="section_id" required>
<option value="">{{ get_phrase('Select a section') }}</option>
@foreach (App\Models\Section::where('course_id', $id)->get() as $section)
<option value="{{ $section->id }}">{{ $section->title }}</option>
@endforeach
</select>
</div>
<div class="mb-3">
<div class="row">
<div class="col-sm-6 mb-3 mb-sm-0">
<label for="total_mark" class="form-label ol-form-label">{{ get_phrase('Total mark') }}</label>
<input type="number" min="1" name="total_mark" class="form-control ol-form-control" id="total_mark" required>
</div>
<div class="col-sm-6">
<label for="pass_mark" class="form-label ol-form-label">{{ get_phrase('Pass mark') }}</label>
<input type="number" min="1" name="pass_mark" class="form-control ol-form-control" id="pass_mark" required>
</div>
</div>
</div>
<div class="mb-3">
<label for="duration" class="form-label ol-form-label">{{ get_phrase('Duration') }}</label>
<div class="row">
<div class="col-6">
<div class="counter hour">
<input type="number" name="hour" class="form-control ol-form-control" min="0" max="24" placeholder="{{ get_phrase('Hour') }}">
</div>
</div>
<div class="col-6">
<div class="counter minute">
<input type="number" name="minute" class="form-control ol-form-control" min="0" max="59" required placeholder="{{ get_phrase('Minute') }}">
</div>
</div>
</div>
</div>
<div class="mb-3">
<label for="section" class="form-label ol-form-label">
<span>{{ get_phrase('Drip content rule for quiz ') }}</span>
<small>{{ get_phrase('(This will only work if drip content is enabled)') }}</small>
</label>
<select class="ol-form-control select select2" data-toggle="select2" name="drip_rule" required>
<option value="">{{ get_phrase('Select a section') }}</option>
<option value="0">{{ get_phrase('Students can start the next lesson by submitting the quiz') }}</option>
<option value="1">{{ get_phrase('Students must achieve pass mark to start the next lesson') }}</option>
</select>
</div>
<div class="mb-3">
<label for="summary" class="form-label ol-form-label">{{ get_phrase('Summary') }}</label>
<textarea name="summary" class="form-control ol-form-control" id="summary"></textarea>
</div>
<div class="">
<button class="btn ol-btn-primary">{{ get_phrase('Add quiz') }}</button>
</div>
</div>
</div>
</form>
@include('admin.init')