|
@ -1,5 +1,5 @@ |
|
|
from crispy_forms_foundation.layout import ( |
|
|
from crispy_forms_foundation.layout import ( |
|
|
Layout, Fieldset, Row, Column, ButtonGroup, Button, Submit) |
|
|
Div, Layout, Fieldset, Row, Column, Button, Submit) |
|
|
from django.utils.translation import ugettext as _ |
|
|
from django.utils.translation import ugettext as _ |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -37,11 +37,12 @@ def buttons_crispies(): |
|
|
return [ |
|
|
return [ |
|
|
Row( |
|
|
Row( |
|
|
Column( |
|
|
Column( |
|
|
ButtonGroup( |
|
|
Div( |
|
|
Submit('submit', _('Submit'), css_class='success'), |
|
|
Submit('submit', _('Submit'), |
|
|
Button('cancel', _('Cancel')), |
|
|
css_class='button radius success right'), |
|
|
Button('dummy', _('Delete'), css_class='alert'), |
|
|
Button('cancel', _('Cancel'), |
|
|
css_class='radius right' |
|
|
css_class='button radius alert left'), |
|
|
|
|
|
css_class='radius clearfix' |
|
|
), |
|
|
), |
|
|
css_class='clearfix' |
|
|
css_class='clearfix' |
|
|
), |
|
|
), |
|
|