作者 jinglong

修改htmL input 字数限制

... ... @@ -51,13 +51,13 @@
<tr>
<th>分类名称<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="name" required placeholder="请输入分类名称"/>
<input class="form-control" type="text" name="name" required maxlength="30" placeholder="请输入分类名称"/>
</td>
</tr>
<tr>
<th>分类名称(英文)<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="name_en" required placeholder="请输入分类名称(英文)"/>
<input class="form-control" type="text" name="name_en" required maxlength="30" placeholder="请输入分类名称(英文)"/>
</td>
</tr>
</table>
... ...
... ... @@ -52,13 +52,13 @@
<tr>
<th>分类名称<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="name" required placeholder="请输入分类名称" value="{$post.name}"/>
<input class="form-control" type="text" name="name" required maxlength="30" placeholder="请输入分类名称" value="{$post.name}"/>
</td>
</tr>
<tr>
<th>分类名称(英文)<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="name_en" required placeholder="请输入分类名称(英文)" value="{$post.name_en}"/>
<input class="form-control" type="text" name="name_en" required maxlength="30" placeholder="请输入分类名称(英文)" value="{$post.name_en}"/>
</td>
</tr>
</table>
... ...