// New renders the form for creating a new Widget.
// This function is mapped to the path GET /widgets/new
New renders the form for creating a new Widget.
This function is mapped to the path GET /widgets/new
// New renders the form for creating a new Widget . // This function is mapped to the path GET / widgets / new
func (v WidgetsResource) New(c buffalo.Context) error {
	c.Set("widget", &models.Widget{})
	return c.Render(200, render.R.HTML("widgets/new.html"))
}
func ( v WidgetsResource ) New ( c buffalo . Context ) error { c . Set ( " " , & models . Widget { } ) return c . Render ( 200 , render . R . HTML ( " " ) ) }
New renders the form for creating a new Widget.
New renders the form for creating a new Widget .
// Make widget available inside the html template