Skip to content

Commit 9fe04d0

Browse files
authored
Добавить кнопку «добавить новое поле» и внизу списка полей (#3045)
1 parent 505d1e8 commit 9fe04d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/JoinRpg.Portal/Views/GameField/FieldList.cshtml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
</table>
2828
</div>
2929

30+
<a asp-controller="GameField" asp-action="Create" asp-route-ProjectId="@Model.Navigation.ProjectId" class="btn btn-success">
31+
<span class="glyphicon glyphicon-plus"></span>Добавить новое поле
32+
</a>
33+
3034
@await Html.PartialAsync("_DeleteEntityDlg", new DeleteDialogViewModel() { ProjectId = Model.Navigation.ProjectId, Title = "Удаление поля"})
3135

3236

0 commit comments

Comments
 (0)