<?php
$title = "Add Review Criterion";
?>

<div class="card">

<div class="card-header">
<h3>Add Review Criterion</h3>
</div>

<div class="card-body">

<form method="post"
      action="/easychair/admin/review-form/store">

<div class="mb-3">
<label>Arabic Label</label>
<input type="text"
       name="title_ar"
       class="form-control"
       required>
</div>

<div class="mb-3">
<label>English Label</label>
<input type="text"
       name="title_en"
       class="form-control">
</div>

<div class="mb-3">
<label>Description Arabic</label>
<textarea name="description_ar"
          class="form-control"
          rows="3"></textarea>
</div>

<div class="mb-3">
<label>Description English</label>
<textarea name="description_en"
          class="form-control"
          rows="3"></textarea>
</div>

<div class="mb-3">
<label>Max Score</label>
<input type="number"
       name="max_score"
       class="form-control"
       value="10">
</div>

<div class="mb-3">
<label>Weight</label>
<input type="number"
       step="0.01"
       name="weight"
       class="form-control"
       value="1">
</div>

<div class="mb-3">
<label>Sort Order</label>
<input type="number"
       name="sort_order"
       class="form-control"
       value="1">
</div>

<button type="submit"
        class="btn btn-success">

Save

</button>

<a href="/easychair/admin/review-form"
   class="btn btn-secondary">

Cancel

</a>

</form>

</div>

</div>
