<form action="{$action}" id='myForm' method="post" role="form">
<!-- 事項,描述,到期日,優先順序,是否完成,指派對象 -->
<div class="form-group">
<label for="title">事項:</label>
<input type="text" name="title" id="title" class="form-control" placeholder="請輸入標題">
</div>
<div class="form-group">
<label for="directions">描述:</label>
<textarea class="form-control" name="directions" id="directions" rows="3"></textarea>
</div>
<div class="form-group">
<label for="end">到期日:</label>
<input type="text" name="end" id="end" class="form-control" placeholder="請輸入yyyy-mm-dd">
</div>
<div class="form-group">
<label for="priority">優先順序:</label>
<select class="form-control" name="priority" id="priority">
<option value="高"> 高 </option>
<option value="中"> 中 </option>
<option value="低"> 低</option>
</select>
</div>
<div class="form-group">
<label for="done">是否完成:</label>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="done" id="done_1" value="1"> 是
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="done" id="done_0" value="0"> 否
</label>
</div>
</div>
<div class="form-group">
<label for="done">指派對象:</label>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="assign[]" value="爸爸"> 爸爸
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="assign[]" value="媽媽"> 媽媽
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="assign[]" value="哥哥"> 哥哥
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="assign[]" value="我"> 我
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="assign[]" value="妹妹"> 妹妹
</label>
</div>
</div>
<hr>
<div class="text-center">
<input type="hidden" name="op" value="{$next_op}">
<input type="hidden" name="sn" value="{$sn}">
<input type="submit" name="send" value="儲存" class="btn btn-primary" />
</div>
</form>