aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorCamil Staps2016-11-11 13:28:09 +0100
committerCamil Staps2016-11-11 13:28:09 +0100
commit758ac4e8545e10971f4f640fa752702a819eace8 (patch)
tree61fba5de1799843758a6f41c43332e1016a4de27 /resources
parentHide top users on some pages (diff)
Checkboxes instead of select for roots
Diffstat (limited to 'resources')
-rw-r--r--resources/views/trainer.blade.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/trainer.blade.php b/resources/views/trainer.blade.php
index 70f1f3d..e120500 100644
--- a/resources/views/trainer.blade.php
+++ b/resources/views/trainer.blade.php
@@ -28,13 +28,13 @@ use HebrewParseTrainer\Tense;
<div class="form-group">
<h3>Roots</h3>
- <select name="root" class="reload-verb form-control hebrew ltr" multiple="multiple">
@foreach (Root::orderBy('root_kind_id')->get() as $root)
@if ($root->verbs()->where('active', 1)->count() > 0)
- <option value="{{{ $root->root }}}" selected="selected">{{{ $root->root }}} ({{{ $root->kind->name }}})</option>
+ <div class="checkbox">
+ <label><input class="reload-verb" type="checkbox" name="root" value="{{{ $root->root }}}" checked="checked"/> <span class="hebrew">{{{ $root->root }}}</span> ({{{ $root->kind->name }}})</label>
+ </div>
@endif
@endforeach
- </select>
</div>
<div class="form-group">