func (f *CommentForm) LoadData(r *potato.Request) { f.Content, _ = r.String("content") f.State, _ = r.Int("state") }
func (f *TopicForm) LoadData(r *potato.Request) { f.Title, _ = r.String("title") f.Content, _ = r.String("content") f.State, _ = r.Int("state") }