My motivation in using HAML is to have code that is easy to read,
prints nicely, etc.  If I want awkward syntax, I know where to find
it (:-).  I'm cool with putting Ruby methods in helpers, but what
about tidying up long HAML attributes, as:

  %a{ :target => '_new',                                     |
      :href   => 'https://my.foo.net/p/ops/bar_webcam' +     |
                 "[EMAIL PROTECTED]" } View Bar                 |
    -#
    View Bar

and

  %div{ :style => 'border:     1px solid #aaa;               |
                   padding:    10px;                         |
                   background: #eee;' }                      |
  -#

Long lines are harder to read.  Please add some syntax for those
of us that like to keep things short, nicely lined up, etc.


On Aug 14, 9:26 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Yep. The syntax is intentionally awkward. It's part of our effort to
> discourage people from using pipes at all.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to