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

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -