python - Adjust field size in Flask-Admin w/ Bootstrap3 -


this similar this solution seems bootstrap2 , has no affect on code.

would know how customize field width in flask-admin? know has form_widget_args haven't figured out right combination yet.

thanks!

edit:

i able solve of problem adding following in view:

form_widget_args = {     asset_tag:{'class': 'form-control',                'style': "width: 40%",                'placeholder':'ex. m132 or t456'                } 

this uses css override bootstrap formatting. hoping able use bootstrap grid formatting (i.e. .col-md-8)


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -