Skip to content

Instantly share code, notes, and snippets.

@rohitkandhal
Created July 10, 2013 21:01
Show Gist options
  • Save rohitkandhal/5970293 to your computer and use it in GitHub Desktop.
Save rohitkandhal/5970293 to your computer and use it in GitHub Desktop.
Prompt Dialog with action links
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>New Project options:</h3>
</div>
<div class="modal-body">
<div class="row-fluid">
<div class="control-group">
Do you want to create new course or update existing course?
</div>
</div>
</div>
<div class="modal-footer">
@Html.ActionLinkNonEncoded("<i class=\"icon-plus icon-white\"></i> Create New Course", "ActionName", "ControllerName",
null,
new { @class = "btn btn-primary modal-link" })
@Html.ActionLinkNonEncoded("<i class=\"icon-edit icon-white\"></i> Update Existing Course", "ActionName", "ControllerName",
null,
new { @class = "btn btn-inverse modal-link" })
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment