Skip to content

Commit

Permalink
Merge pull request #152 from brendonofficial/fix/minor-bug-fixes
Browse files Browse the repository at this point in the history
Minor bug fixes
  • Loading branch information
apexdodge authored Dec 6, 2023
2 parents 982ddec + d6f77b1 commit 6ce4919
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.suo
*.user
*.sln.docstates
.idea/

# Build results

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Raytha.Application.UserGroups.Queries;
using Raytha.Domain.Entities;
using Raytha.Domain.ValueObjects;
using Raytha.Web.Areas.Admin.Views.Roles;
using Raytha.Web.Areas.Admin.Views.Shared.ViewModels;
using Raytha.Web.Areas.Admin.Views.UserGroups;
using Raytha.Web.Filters;
Expand Down Expand Up @@ -90,7 +89,7 @@ public async Task<IActionResult> Edit(string id)
[Route(RAYTHA_ROUTE_PREFIX + "/users/groups/edit/{id}", Name = "usergroupsedit")]
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Edit(EditRole_ViewModel model, string id)
public async Task<IActionResult> Edit(EditUserGroup_ViewModel model, string id)
{
var input = new EditUserGroup.Command
{
Expand Down
3 changes: 2 additions & 1 deletion src/Raytha.Web/Areas/Admin/Views/Shared/Error.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
@ViewData["ErrorMessage"]
</div>
}
</div>
</div>
</div>
</div>
</section>
</section>
3 changes: 2 additions & 1 deletion src/Raytha.Web/Areas/Admin/Views/Shared/Forbidden.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
@ViewData["ErrorMessage"]
</div>
}
</div>
</div>
</div>
</div>
</section>
</section>
4 changes: 2 additions & 2 deletions src/Raytha.Web/Areas/Admin/Views/Templates/Email/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<form class="d-flex" asp-action="EmailTemplatesIndex" method="get">
<form class="d-flex" asp-route="EmailTemplatesIndex" method="get">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search" name="search" value="@Model.Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
Expand Down Expand Up @@ -106,4 +106,4 @@
<partial name="_TablePagination" model="@Model" />
</div>
</div>
</div>
</div>

0 comments on commit 6ce4919

Please sign in to comment.