aboutsummaryrefslogtreecommitdiff
path: root/resources/views/add_root.blade.php
diff options
context:
space:
mode:
authorCamil Staps2016-09-06 00:23:26 +0200
committerCamil Staps2016-09-06 00:23:26 +0200
commit6f6a6abe3c9971b60aad585a198ced6c51329ef5 (patch)
treea6a5300eb572c1306c34d1f400a928eb2a68f631 /resources/views/add_root.blade.php
parentAdd roots (diff)
Different root kinds instead of only strong/weak
Diffstat (limited to 'resources/views/add_root.blade.php')
-rw-r--r--resources/views/add_root.blade.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/resources/views/add_root.blade.php b/resources/views/add_root.blade.php
new file mode 100644
index 0000000..7da4955
--- /dev/null
+++ b/resources/views/add_root.blade.php
@@ -0,0 +1,34 @@
+<?php
+use HebrewParseTrainer\RootKind;
+?>
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Add a new root</h3>
+ </div>
+ <div class="panel-body">
+ <form class="form-horizontal" id="add-root">
+ <div class="alerts"></div>
+ <div class="form-group">
+ <label for="add-root-root" class="col-sm-2 control-label">Root</label>
+ <div class="col-sm-10">
+ <input type="text" class="form-control" id="add-root-root" name="root" placeholder="קטל"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="add-root-kind" class="col-sm-2 control-label">Kind</label>
+ <div class="col-sm-10">
+ <select id="add-root-kind" class="form-control" name="root_kind_id">
+ @foreach(RootKind::all() as $kind)
+ <option value="{{ $kind->id }}">{{{ $kind->name }}}</option>
+ @endforeach
+ </select>
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-sm-offset-2 col-sm-10">
+ <button type="submit" class="btn btn-primary">Add</button>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>