Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
781 B

@page
@using Volo.Blogging.Pages.Blog.Posts
@model EditModel
@inherits Volo.Blogging.Pages.Blog.BloggingPage
@section scripts {
<abp-script-bundle name="@typeof(EditModel).FullName">
<abp-script src="/Pages/Blog/Posts/edit.js" />
</abp-script-bundle>
}
<form method="post">
<abp-input asp-for="@Model.Post.Title" auto-focus="true" />
<abp-input asp-for="@Model.Post.Url" />
<abp-input asp-for="@Model.Post.Tags" />
<div class="form-group">
<label>@L["Content"]</label>
<textarea rows="4" class="form-control" name="Post.Content">@Model.Post.Content</textarea>
</div>
<abp-input asp-for="@Model.Post.BlogId"/>
<abp-input asp-for="@Model.Post.Id"/>
<abp-button type="submit" text="@L["Submit"].Value" />
</form>