% hidden = params[:action] == 'summary' ? 'hidden' : '' answers = answer.try(:answer) || answer %> Enter answer here <%= answers %>