ok thx
On Wed, Jun 30, 2010 at 8:59 PM, Me wrote:
> You need to add condition, where if a box is checked show div.
>
> On Jun 30, 7:11 pm, tom wrote:
> > hi,
> > im gettin lost with the subject. need some pointers:
> >
> > Usermodel:
> > validates_presence_of :companyname, :if => :i
You need to add condition, where if a box is checked show div.
On Jun 30, 7:11 pm, tom wrote:
> hi,
> im gettin lost with the subject. need some pointers:
>
> Usermodel:
> validates_presence_of :companyname, :if => :is_company?
>
> <%= f.label "Are u representing a company?" %>
> <%= f
2 matches
Mail list logo