def new
      # raise params.inspect
      @questions = "Qe::#{params[:element_type]}".constantize.active.order('label')
      params[:element] ||= {}
      if params[:element][:style]
        @questions = @questions.where(:style => params[:element][:style]).all.uniq
      end
    end
def new
      # raise params.inspect
      @questions = "Qe::#{params[:element_type]}".constantize.active.order('label')
      params[:element] ||= {}
      if params[:element][:style]
        @questions = @questions.where(:style => params[:element][:style]).all.uniq
      end
    end
GET /elements/new