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

@@ -1255,6 +1255,10 @@ class e_form
case 'submit': case 'submit':
$options['class'] .= 'btn-success'; $options['class'] .= 'btn-success';
break; break;
case 'cancel':
// use this for neutral colors.
break;
case 'delete': case 'delete':
$options['class'] .= 'btn-danger'; $options['class'] .= 'btn-danger';