#647 open
Kieran P

skip-blank-fields functionality to field-list

Reported by Kieran P | March 1st, 2010 @ 10:54 PM | in Hobo 1.4

New tag attribute:

skip-blank-fields

Usage:

<field-list: skip-blank-fields/>

Desired effect:

It should skip any fields that are blank from being printed on the show page

Example working code:

<field-list: skip="#{this.attributes.collect { |k,v| k if v.blank? }.compact.join(', ')}"/>

Additional request:

Without specifying an fields="" or skip="", all fields should be shown if not already.

<field-list:/>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages