title: Display only checkbox based on boolean
body: <p>This should be a simple question but I have searched and cannot find the answer. I have an <strong>index</strong> view where I would like to display some boolean values in a table, as check boxes and display-only.</p>
  
  <p>The code below displays a check box but it can be modified, also it doesn't display the value based on the <strong>cosmic.ampliseq</strong> which is a <strong>boolean</strong>.</p>
  
  <pre><code>&lt;% @cosmics.each do |cosmic| %&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;%= check_box cosmic.ampliseq, "disabled", {}, "false", "true" %&gt;&lt;/td&gt;
  </code></pre>