mirror of https://github.com/abpframework/abp.git
9 changed files with 38 additions and 19 deletions
@ -0,0 +1,7 @@ |
|||||
|
{ |
||||
|
"culture": "en", |
||||
|
"texts": { |
||||
|
"Title": "Title", |
||||
|
"Content": "Content" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
{ |
||||
|
"culture": "tr", |
||||
|
"texts": { |
||||
|
"Title": "Başlık", |
||||
|
"Content": "İçerik" |
||||
|
} |
||||
|
} |
||||
@ -1,14 +1,15 @@ |
|||||
@page |
@page |
||||
@using Volo.Blogging.Pages.Blog.Posts |
@using Volo.Blogging.Pages.Blog.Posts |
||||
@model NewModel |
@model NewModel |
||||
|
@inherits Volo.Blogging.Pages.Blog.BloggingPage |
||||
<form method="post"> |
<form method="post"> |
||||
<abp-input asp-for="Post.Title" auto-focus="true" /> |
<abp-input asp-for="Post.Title" auto-focus="true" /> |
||||
|
|
||||
<div class="form-group"> |
<div class="form-group"> |
||||
<label>Content</label> |
<label>@L["Content"]</label> |
||||
<textarea rows="4" class="form-control" name="Post.Content">@Model.Post.Content</textarea> |
<textarea rows="4" class="form-control" name="Post.Content">@Model.Post.Content</textarea> |
||||
</div> |
</div> |
||||
|
|
||||
<abp-input asp-for="Post.BlogId" label=" " /> @* TODO: Remove label when the issue is fixed *@ |
<abp-input asp-for="Post.BlogId" label=" " /> @* TODO: Remove label when the issue is fixed *@ |
||||
<abp-button type="submit" text="Submit" /> |
<abp-button type="submit" text="@L["Submit"].Value" /> |
||||
</form> |
</form> |
||||
Loading…
Reference in new issue