_ModalFooter.cshtml 714 B

1234567891011121314
  1. @model string
  2. <div class="modal-footer" style="text-align: center;">
  3. @if (Model.ToLower() == "cancel" || Model == "1")
  4. {
  5. <button type="button" class="btn btn-outline-iwb waves-effect" data-dismiss="modal" style="min-width: 100px;">@L("Cancel")</button>
  6. }
  7. else if (Model.ToLower() == "save" || Model == "2")
  8. {
  9. <button type="button" class="btn btn-iwb btn-sm save-btn waves-effect" style="min-width: 100px;">@L("Save")</button>
  10. }else{
  11. <button type="button" class="btn btn-sm btn-outline-iwb waves-effect" data-dismiss="modal" style="min-width:100px;">@L("Cancel")</button>
  12. <button type="button" class="btn btn-iwb btn-sm save-btn waves-effect" style="min-width:100px;">@L("Save")</button>
  13. }
  14. </div>