[前端-后台]增强radio的易用性,使用label包裹,便于用户点到[CI SKIP]

This commit is contained in:
esp 2015-08-27 15:36:32 +08:00
parent 979a2070cd
commit c64bd9d165

View File

@ -38,7 +38,8 @@
<div class="form-group"> <div class="form-group">
<label>标题</label> <label>标题</label>
<input name="title" type="text" class="form-control" id="newTitle" placeholder="公告标题" value="" ms-duplex="newTitle"></div> <input name="title" type="text" class="form-control" id="newTitle" placeholder="公告标题" value=""
ms-duplex="newTitle"></div>
<div class="form-group"> <div class="form-group">
<label>内容</label> <label>内容</label>
<textarea id="edit-announcement-editor"></textarea> <textarea id="edit-announcement-editor"></textarea>
@ -78,12 +79,14 @@
<label>标题</label> <label>标题</label>
<input name="title" type="text" class="form-control" id="title" placeholder="公告标题" <input name="title" type="text" class="form-control" id="title" placeholder="公告标题"
data-error="请填写公告标题(标题不得超过50字)" maxlength="50" required> data-error="请填写公告标题(标题不得超过50字)" maxlength="50" required>
<div class="help-block with-errors"></div> <div class="help-block with-errors"></div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>内容</label> <label>内容</label>
<textarea id="create-announcement-editor" placeholder="公告内容" maxlength="10000" required> <textarea id="create-announcement-editor" placeholder="公告内容" maxlength="10000" required>
</textarea> </textarea>
<div class="help-block with-errors"></div> <div class="help-block with-errors"></div>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -91,10 +94,16 @@
<div> <div>
<span ms-if="showGlobalViewRadio"> <span ms-if="showGlobalViewRadio">
<input type="radio" value="true" name="isGlobal" ms-duplex-boolean="isGlobal">全局可见 <label>
<small><input type="radio" value="true" name="isGlobal" ms-duplex-boolean="isGlobal">全局可见
</small>
</label>
</span> </span>
<span> <span>
<input type="radio" value="false" name="isGlobal" ms-duplex-boolean="isGlobal">小组内可见 <label>
<small><input type="radio" value="false" name="isGlobal" ms-duplex-boolean="isGlobal">小组内可见
</small>
</label>
</span> </span>
</div> </div>