Created
September 7, 2017 06:11
-
-
Save tnayanam/2ec6303d56afa96241a4e22ad73f1da0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model Bridge.ViewModels.SmallButtonViewModel | |
@using Bridge.ViewModels | |
@*<td style="width: 125px;">*@ | |
<td> | |
<div class="btn-group" role="group"> | |
@Html.Partial("_SmallButtonPartial", | |
new SmallButtonViewModel | |
{ | |
Action = "Edit", | |
ButtonType = "btn-primary", | |
Glyph = "pencil", | |
Text = "Edit button", | |
ReferralId = Model.ReferralId, | |
ResumeId = Model.ResumeId, | |
CoverLetterId = Model.CoverLetterId | |
}) | |
@Html.Partial("_SmallButtonPartial", | |
new SmallButtonViewModel | |
{ | |
Action = "Details", | |
ButtonType = "btn-success", | |
Glyph = "list", | |
Text = "Detail button", | |
ReferralId = Model.ReferralId, | |
ResumeId = Model.ResumeId, | |
CoverLetterId = Model.CoverLetterId, | |
CandidateId = Model.CandidateId | |
}) | |
@using (Html.BeginForm("Delete", Model.Action, FormMethod.Post, new { @class = "delete-form css-inline" })) | |
{ | |
@Html.AntiForgeryToken() | |
@Html.HiddenFor(m=>m.ResumeId) | |
<button type="submit" class="btn btn-danger css-btn-style"> | |
<span class="glyphicon glyphicon-trash"></span> | |
</button> | |
} | |
</div> | |
</td> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment