* Add required for field.

This commit is contained in:
daitingting
2018-04-17 16:32:31 +08:00
parent e0d5829bd2
commit 11eea223ae
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
</tr>
<tr>
<th><?php echo $lang->productplan->begin;?></th>
<td><?php echo html::input('begin', $begin, "class='form-control form-date'");?></td><td></td><td></td>
<td><?php echo html::input('begin', $begin, "class='form-control form-date' required");?></td><td></td><td></td>
</tr>
<tr>
<th><?php echo $lang->productplan->end;?></th>
+1 -1
View File
@@ -36,7 +36,7 @@ js::set('page' , 'create');
</tr>
<tr>
<th><?php echo $lang->release->date;?></th>
<td><?php echo html::input('date', helper::today(), "class='form-control form-date'");?></td><td></td>
<td><?php echo html::input('date', helper::today(), "class='form-control form-date' required");?></td><td></td>
</tr>
<tr>
<th><?php echo $lang->release->desc;?></th>
+1 -1
View File
@@ -41,7 +41,7 @@
<div class='input-group' id='moduleIdBox'>
<div class="input-group-addon"><?php echo $lang->story->module;?></div>
<?php
echo html::select('module', $moduleOptionMenu, $moduleID, "class='form-control chosen'");
echo html::select('module', $moduleOptionMenu, $moduleID, "class='form-control chosen' required");
if(count($moduleOptionMenu) == 1)
{
echo "<div class='input-group-addon'>";