twitter-bootstrappycharmpyramiddeformfanstatic

I'm unable to setup Pyramid and the deform_bootstrap?


I've just started working with Pyramid. I'm using PyCharm as an IDE and I've started with the "starter" scaffold. I'm trying to create some nice looking forms. I've installed deform and deform_bootstap. I've managed to get a form to display but it's not pretty like the examples of the widgets on the http://deformdemo.xo7.de/ajaxform/ site. I'm also am trying to make a tabbed form. I setup my code using this "how to" https://pypi.python.org/pypi/deform_bootstrap but the tabs don't seem to work. The documentation is sparse of this subject. What does the beginner need to know to get a twitter like form up and running? It seems that I'm missing all the wonderful CSS information in the .pt file and maybe that's the issue. Does Fanstatic provide a solution? How do I set all this up?

What's works best? I'm trying to stay away form HTML and CSS as much as possible but still have a clean looking site.


Solution

  • Okay, I now have a tabbed form.

    1. Thanks to Sascha, I was able to use form.get_widget_resources() to make everything look pretty.

    2. I was still unable to get the Tabs to display. The fix ended up being simple. I had deform_bootstrap_exta installed which ran on deform_bootstrap 0.2.8. I removed the deform_bootstrap_exta and updated to deform_bootstrap 0.2.9. This solved the problem.