title: If Else in HAML to check the value of a "select" box
body: <pre><code>= form_tag questions_path, :method=&gt;:post do
      = label :question, :type, 'Type: '
      = select :question, :type, %w(Text Picture Audio Video), :id=&gt; :question_type_combo
        **- if :question_type_combo.selected != 'Text'**
          = label :question,:url, 'URL: '
          = text_field :question,:url, :id=&gt; :question_url_text
        = submit_tag 'Add Question',:id=&gt;:add_question_button
  </code></pre>
  
  <p>Is something of this sort possible in HAML? I wish to render the textfield only for certain options if selected in the SELECT BOX above.</p>