Closed standardtoaster closed 13 years ago
What modifications were needed? I'd need to read the documentation again, but I'm fairly sure we could override Formtastic to provide nicer buttons.
I'm not actually sure. I have not figured out thenbest way to get formtastic to match the output. I may have to submit a patch to formtastic that allows blocks in submit buttons. Or, maybe we should monkey patch formtastic here, and just have it emit pretty buttons when activo-rails and formtastic are both enabled
Closing in favour of waiting for the pending formtastic solution. See https://github.com/justinfrench/formtastic/issues/11
For now, you can either emit HTML, or use the raw button helpers if you really want the activo style buttons.
The documentation for formtastic integration appears to be a bit misleading. It says:
However, If you just use semantic_form_for, the buttons are the standard rails buttons.
I've generated my layouts using web-app-theme, and modified the forms manually to use formtastic, but I don't think that should matter.