src/ZKEACMS.FormGenerator/Views/EditTemplate/Radio.cshtml
(完整代码) 2KB<div class="form-group">
<div class="checkbox">
<label>
<input type="checkbox" ng-checked="fieldInfo.IsRequired" ng-click="fieldInfo.IsRequired=!fieldInfo.IsRequired" />
@L("Required?")
</label>
</div>
</div>
<div class="form-group" ng-if="fieldInfo.IsRequired">
<label class="control-label" for="requiredMessage">@L("Required Message")</label>
<input type="text" class="form-control" name="requiredMessage" id="requiredMessage" ng-model="fieldInfo.RequiredMessage" />
</div>
<div class="form-group">
<label class="control-label">
@L("Option")
</label>
<div class="control-group">
<div style="margin-bottom:10px;" ng-class="{default:option.DefaultSelected}" ng-repeat="option in fieldInfo.FieldOptions | orderBy:'Order'">
<div>
<div class="input-group">
<input type="text" class="form-control" placeholder="@L("Input option")" ng-model="option.DisplayText">
<span class="input-group-addon dropdown">
<i class="glyphicon glyphicon-remove" ng-click="removeOption(fieldInfo.FieldOptions,option)" data-toggle="dropdown">
</i>
</span>
</div>
</div>
<div ng-show="fieldInfo.ShowValue">
<input type="text" ng-model="option.Value" />
<span class="add-on">
<i class="icon-bullhorn dropdown-toggle" data-toggle="dropdown"></i>
<code class="dropdown-menu alert alert-info">
</code>
</span>
</div>
</div>
</div>
</div>
<input type="button" class="btn btn-default btn-xs" value="@L("Add")" ng-click="addOption(fieldInfo.FieldOptions)" />
<input type="hidden" class="form-control" name="regexPattern" id="regexPattern" ng-model="fieldInfo.RegexPattern" />
<input type="hidden" class="form-control" name="regexMessage" id="regexMessage" ng-model="fieldInfo.RegexMessage" />
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。