added form for question template
fixed rubocop issues