use with dev.metalisp.sbt?
there's a well-developed bootstrap library, https://code.metalisp.dev/marcuskammer/dev.metalisp.sbt.
i wonder if it is possible to combine cl-forms with it?
i have an existing project using sbt, and when i combine it with cl-forms using the extra cl-forms boostrap system, the forms do theme, but the styling doesn't match how i have used sbt.
not a huge deal, but i'd be curious to know if i could defer styling to sbt.
there's a well-developed bootstrap library, https://code.metalisp.dev/marcuskammer/dev.metalisp.sbt.
i wonder if it is possible to combine cl-forms with it?
everything is possible 😛
i have an existing project using sbt, and when i combine it with cl-forms using the extra cl-forms boostrap system, the forms do theme, but the styling doesn't match how i have used sbt.
not a huge deal, but i'd be curious to know if i could defer styling to sbt.
You would have to implement your own theme in cl-forms using dev.metalisp.sbt . Look at https://github.com/mmontone/cl-forms/blob/master/src/themes/bootstrap.lisp You would have to specialize generic functions like there using a new sbt-theme.
Also, you are free to render forms however you like. You only need to make the html input field names match the name used in cl-forms:form-field html-name. Then you can use cl-forms in "backend only", or "headless" mode, for fetching form values and validation only, not for rendering.