rearrange period form

help controller
Merge branch 'fix_form_horizontal'