title: How hide label in Ruby on Rails
body: <p>I am trying to create a dynamic page and using CoffeScript</p>
  
  <pre><code>class Requistion &lt; ActiveRecord::Base
  end
  
  class RequistionsController &lt; ApplicationController
    def show
      @requistion = Requistion.find(params[:id])
    end
  
    def create
      @requistion = Requistion.new(user_params)
      @requistion.save
    end
  
    def index
      @requistions = Requistion.all
    end
  
  
    def new
      @requistion = Requistion.new
    end
  
    private
    def user_params
          params.require(:requistion).permit(:object)
    end
  end
  </code></pre>
  
  <p>View code:</p>
  
  <pre><code>&lt;%= f.label :info, :'text',  class: "col-md-4 control-label" %&gt;
  &lt;%= f.text_field :info,  class: "form-control" %&gt;
  </code></pre>
  
  <p>Below is the JQuery code.</p>
  
  <p><code>$('#class_info').parent().hide()</code></p>
  
  <p>The field is hidden, although label is not. What's the problem?</p>