extract func `parseFormTag` from templatefunc.RenderForm
Extracted a func `parseFormTag` that takes a reflect.StructField and returns the different positional parts of the `form` structTag with default values as documented in http://beego.me/docs/mvc/view/view.md#renderform This makes RenderForm shorter and makes it possible to test the parsing separately.
Showing
Please
register
or
sign in
to comment