Skip to content

Commit

Permalink
Merge pull request Baud-UCS#38 from Berzeger/UI-improvements
Browse files Browse the repository at this point in the history
UI improvements
  • Loading branch information
gius committed Jul 15, 2015
2 parents 4c4e214 + 64d00fa commit 4342a5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
{
@s.FieldFor(m => m.Name)
}

@Html.GuardedActionLink(StringResources.BackToList, MVC.Security.Positions.Index(), new SimpleHtmlAttributes("class", "btn btn-default"))

using (var n = f.BeginNavigation())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
@s.FieldFor(m => m.Name)
}

@Html.GuardedActionLink(StringResources.BackToList, MVC.Security.Roles.Index(), new SimpleHtmlAttributes("class", "btn btn-default"))

using (var n = f.BeginNavigation())
{
@n.Submit(StringResources.Save)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
}
}

@Html.GuardedActionLink(StringResources.BackToList, MVC.Security.Users.Index(), new SimpleHtmlAttributes("class", "btn btn-default"))
@Html.GuardedActionLink(StringResources.Edit, MVC.Security.Users.Edit(Model.ID), new SimpleHtmlAttributes("class", "btn btn-default"))

0 comments on commit 4342a5c

Please sign in to comment.