作者 jinglong

修改htmL input 字数限制

@@ -51,13 +51,13 @@ @@ -51,13 +51,13 @@
51 <tr> 51 <tr>
52 <th>分类名称<span class="form-required">*</span></th> 52 <th>分类名称<span class="form-required">*</span></th>
53 <td> 53 <td>
54 - <input class="form-control" type="text" name="name" required placeholder="请输入分类名称"/> 54 + <input class="form-control" type="text" name="name" required maxlength="30" placeholder="请输入分类名称"/>
55 </td> 55 </td>
56 </tr> 56 </tr>
57 <tr> 57 <tr>
58 <th>分类名称(英文)<span class="form-required">*</span></th> 58 <th>分类名称(英文)<span class="form-required">*</span></th>
59 <td> 59 <td>
60 - <input class="form-control" type="text" name="name_en" required placeholder="请输入分类名称(英文)"/> 60 + <input class="form-control" type="text" name="name_en" required maxlength="30" placeholder="请输入分类名称(英文)"/>
61 </td> 61 </td>
62 </tr> 62 </tr>
63 </table> 63 </table>
@@ -52,13 +52,13 @@ @@ -52,13 +52,13 @@
52 <tr> 52 <tr>
53 <th>分类名称<span class="form-required">*</span></th> 53 <th>分类名称<span class="form-required">*</span></th>
54 <td> 54 <td>
55 - <input class="form-control" type="text" name="name" required placeholder="请输入分类名称" value="{$post.name}"/> 55 + <input class="form-control" type="text" name="name" required maxlength="30" placeholder="请输入分类名称" value="{$post.name}"/>
56 </td> 56 </td>
57 </tr> 57 </tr>
58 <tr> 58 <tr>
59 <th>分类名称(英文)<span class="form-required">*</span></th> 59 <th>分类名称(英文)<span class="form-required">*</span></th>
60 <td> 60 <td>
61 - <input class="form-control" type="text" name="name_en" required placeholder="请输入分类名称(英文)" value="{$post.name_en}"/> 61 + <input class="form-control" type="text" name="name_en" required maxlength="30" placeholder="请输入分类名称(英文)" value="{$post.name_en}"/>
62 </td> 62 </td>
63 </tr> 63 </tr>
64 </table> 64 </table>