anchor.diff: -
  -
  -
   
   
   
  
positive.code: 
                      <div class="col-md-4">
                          <label>Arl:</label> 
                          <%= f.collection_select :arl_id, Arl.all, :id, :nombre, {prompt: "Selecciones una Arl"}, {class: "form-control arl habilitado"} %>
                      </div>
  
  
  
negative.code: 
  
  
         
  
  
  
  <script type="text/javascript">
  $(document).on('change', '#combo', function(){
      var shouldEnable = $(this).val() !== 'Empleado';
      $('#textbox').prop('disabled', shouldEnable);
  });
  
  </script>
  
  
  
  