Skip to content

Commit

Permalink
Improved answers' create and update administration styles. #110, #111
Browse files Browse the repository at this point in the history
  • Loading branch information
rozay committed Apr 18, 2017
1 parent e4907e1 commit 109a414
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
ViewBag.Title = "Добавяне на нов отговор";
}

<h2>@ViewBag.Title</h2>
<div class="section-title-container">
<h3 class="section-title">@ViewBag.Title</h3>
</div>

@using (Html.BeginForm(
nameof(AnswersController.Create),
Expand All @@ -21,5 +23,5 @@
@Html.EditorFor(m => m.ImageData)

<input type="button" value="Назад" onClick="history.go(-1);return true;" class="btn btn-blue" />
<input type="submit" value="Създай" class="btn btn-primary pull-right" />
<input type="submit" value="Създай" class="btn btn-success pull-right" />
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
@using HappyMe.Web.Areas.Administration.Controllers

@model HappyMe.Web.Areas.Administration.InputModels.Answers.AnswerUpdateInputModel

@{
ViewBag.Title = "Промяна на отговор";
}

<h2>@ViewBag.Title</h2>
<div class="section-title-container">
<h3 class="section-title">@ViewBag.Title</h3>
</div>

@using (Html.BeginForm(
nameof(AnswersController.Update),
Expand All @@ -20,5 +23,5 @@
@Html.EditorFor(m => m.ImageData)

<input type="button" value="Назад" onClick="history.go(-1);return true;" class="btn btn-blue" />
<input type="submit" value="Редактирай" class="btn btn-primary pull-right"/>
<input type="submit" value="Редактирай" class="btn btn-success pull-right"/>
}

0 comments on commit 109a414

Please sign in to comment.