18 lines
788 B
Plaintext
18 lines
788 B
Plaintext
@model EnVisage.Models.ViewModel
|
|
<form id="delete-view-form" method="post">
|
|
@Html.AntiForgeryToken()
|
|
@Html.HiddenFor(t => t.Id)
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
|
|
<h4 class="modal-title">Delete View</h4>
|
|
</div>
|
|
<div class="modal-title"></div>
|
|
<div class="modal-body">
|
|
<strong>Do you want to delete "@(Model.Name)" view?</strong>
|
|
@Html.ValidationSummary(false, "View cannot be deleted due to the following errors:")
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button id="btnDeleteView" type="button" class="btn btn-danger">OK</button>
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
|
</div>
|
|
</form> |