title: Row color should change on condition
body: <p>I have a question on ruby. Example, I have a table when entering fields it should check condition. For example, I have fields of <code>name:string</code>, <code>xyz:string</code> and <code>critical:string</code>. After entering fields it should check if <code>critical == "low"</code> then row color should change. Is it possible?</p>
  
  <p>Any suggestions/help is appreciated. Thanks in advance.</p>