修改功能
This commit is contained in:
@@ -21,12 +21,10 @@
|
||||
</script>
|
||||
|
||||
<h3>
|
||||
Add Emoji
|
||||
新增 Emoji
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
Configuration to add an emoji.<br /><br />
|
||||
</p>
|
||||
<p><br /><br /></p>
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
|
||||
{
|
||||
@@ -45,7 +43,7 @@
|
||||
<div class="container">
|
||||
<form>
|
||||
<div class="form-group row mb-1">
|
||||
<label for="ImageData" class="col-sm-2 col-form-label"><strong>Image</strong></label>
|
||||
<label for="ImageData" class="col-sm-2 col-form-label"><strong>图片</strong></label>
|
||||
<div class="col-sm-10">
|
||||
<input type="file" id="ImageData" name="ImageData" class="form-control-file" onchange="fileCheck(this);" accept="image/png, image/jpeg, image/gif" />
|
||||
</div>
|
||||
@@ -54,13 +52,13 @@
|
||||
<div class="form-group row mb-1">
|
||||
<label for="Name" class="col-sm-2 col-form-label"><strong>@Html.LabelFor(m => m.Name)</strong></label>
|
||||
<div class="col-sm-10">
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "form-control", placeholder = "required" })
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "form-control", placeholder = "必填项" })
|
||||
<div class="text-danger">@Html.ValidationMessageFor(m => m.Name)</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row mb-1">
|
||||
<label for="Categories" class="col-sm-2 col-form-label"><strong>@Html.LabelFor(m => m.Categories)</strong> (comma separated)</label>
|
||||
<label for="Categories" class="col-sm-2 col-form-label"><strong>@Html.LabelFor(m => m.Categories)</strong> (以英文逗号分割)</label>
|
||||
<div class="col-sm-10">
|
||||
@Html.TextBoxFor(m => m.Categories, new { @class = "form-control" })
|
||||
<div class="text-danger">@Html.ValidationMessageFor(m => m.Categories)</div>
|
||||
@@ -69,7 +67,7 @@
|
||||
|
||||
<div class="form-group row mb-1">
|
||||
<div class="col-sm-10 offset-sm-2">
|
||||
<button type="submit" class="btn btn-success rounded-0">Save!</button>
|
||||
<button type="submit" class="btn btn-success rounded-0">保存!</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user