1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Button style 'cancel' added.

This commit is contained in:
Cameron
2013-02-06 12:22:03 -08:00
parent c7b165252a
commit d7eede7633

View File

@@ -1256,6 +1256,10 @@ class e_form
$options['class'] .= 'btn-success';
break;
case 'cancel':
// use this for neutral colors.
break;
case 'delete':
$options['class'] .= 'btn-danger';
$options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"';