# checkbox tag and show

**URL:** <https://discuss.rubyonrails.org/t/checkbox-tag-and-show/23041>\
**Category:** rubyonrails-talk\
**Created:** [January 11, 2008, 5:55pm UTC](https://discuss.rubyonrails.org/t/checkbox-tag-and-show/23041 "2008-01-11T17:55:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [January 11, 2008, 5:55pm UTC](https://discuss.rubyonrails.org/t/checkbox-tag-and-show/23041/1 "2008-01-11T17:55:33Z")

</div>

I hace and integer value: @client.offsup.

I want a checkbox in the show view checked when the value is 1 and unchecked when the value is 0.

Thranks
