I want to thank everyone for the tremendous response to HAML. I'm
absolutely amazed at the sheer number of sites that have switched over
to HAML. I am honestly shocked at the emails I get. This started as a
passion of mine and has grown into the passion of others. Special
thanks for this release goes to Nathan Wiesenbaum who gives new meaning
to prolific.
---THE DEAL---
After nearly a 90% code-base rewrite, we find our selves with a
new-and-improved HAML... codenamed The Bomb. And its features are ready
to *drop*!
We have many, many new features available including...
- Multi-class Handling
- Multi-single-lines with the - character.
- Blocks via Silent Scripting
- Proper Error Reporting
Exciting! I read the tantalizing apetizers on your blog and trac
site. Can't wait for the main course to be served. Will the trac
tutorial be expanded soon?
How does HAML handle if-else-then constructs? I use them to
selectively show menu options, for example.
Thanks for the reply. And add a little bit more to my understanding,
how would a dropselect tag be written in HAML? Assuming:
lookup model = Service ( with id, and name)
Current model = Company[service_id]
Also, what is the best way to contact you about HAML, is there a
mailing list, or is posting to the RubyRails list the best place?
Nothing special. This is what I had in mind.
<table>
<tr>
<td><%= label_for 'model', 'attribute' %></td>
<td><%= select 'model', 'attribute', @droplist %></td>
<tr>
</table>
Is there a tutorial, and/or a reference for the HAML DSL someplace. I
didn't see anything an the plugin.
-Larry
Thanks for the sample and the reference. My somewhat jaded mind is
having a hard time accepting that HAML might just possibly be as easy
as it looks. These code samples help a lot.
-Larry