%- attributes.each{ |attribute| -%> <%- if attribute.type.to_s == "boolean" then -%> <%%= t(:settrueforattr, :attr => "<%= attribute.name %>", :default => "Set <%= attribute.name %> to true") %> <%%= t(:setfalseforattr, :attr => "<%= attribute.name %>", :default => "Set <%= attribute.name %> to false") %> <%- end -%> <%- } -%>