Extract get_* functions common code.
Use bootstrap forms components.