Added validation for options, change a bit of layout and added some html5 validation
This commit is contained in:
parent
71c79d3b2a
commit
aa6e5653e1
19 changed files with 78 additions and 136 deletions
resources/views/tests
|
@ -52,9 +52,9 @@
|
|||
<button type="submit" class="btn btn-default" formaction="/test/{{ $question->test_id }}/retry">Retry</button>
|
||||
<button type="submit" class="btn btn-default" formaction="/test/{{ $question->test_id }}/end">End</button>
|
||||
@elseif (session("last_question") == true)
|
||||
<button type="submit" class="btn btn-default" formaction="/test/{{ $question->test_id }}/end">End</button>
|
||||
<button type="submit" class="btn btn-success" formaction="/test/{{ $question->test_id }}/end">End</button>
|
||||
@else
|
||||
<button type="submit" class="btn btn-default" formaction="/test/question">Next</button>
|
||||
<button type="submit" class="btn btn-primary" formaction="/test/question">Next</button>
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
|
|
Reference in a new issue