hakandilek / play2-crud

Simple CRUD & DAO implementation for play2
Other
142 stars 52 forks source link

play2-crud auto generated forms have no styling #28

Closed karianna closed 10 years ago

karianna commented 10 years ago

The Twitter Bootstrap style form UI shown in the demo/wiki is not being applied.

karianna commented 10 years ago

Happy to dive in and give extra info, wasn't 100% sure where to start digging. My Play app has Twitter Bootstrap as a dependency declared in its scala template main.scala.html:

<script src="@routes.Assets.at("javascripts/jquery-1.9.0.min.js")" type="text/javascript"></script>
<script src="@routes.Assets.at("javascripts/bootstrap.js")" type="text/javascript"></script>

Not sure how to get play2-crud to pick that up though

hakandilek commented 10 years ago

play2-crud has a template based on bootstrap as well but apparently, it's not picking Assets from dependencies..

hakandilek commented 10 years ago

Seems to work after the fix. screenshot from 2013-11-18 12 31 57