fix required text field, remove inline css from base.html