You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussing the HAML language which is currently implemented in Rails. Bug reports, help offers, advice, features, patches, and questions welcome!
|
|
|
How does HAML get compiled?
|
| |
Hi,
I am a Ruby on Rails newbie and am trying to use Haml. I love the
different aspects of and would love to use it for everything. One
simple problem which I can't seem to find the answer to. How does it
get compiled?
I have haml files in a Ruby on Rails project in Aptana and I made the
assumption that when you start the server, the files are compiled to... more »
|
|
get all assigned variables used in teh templates (HAML/PHP)
|
| |
hi,
im looking for a HAML function that does something similar to the
smarty debug.
in smarty you can put {debug} in your template, this opens a popup
wich gives a overview over used assignments and their variables. also
it gives a list of used/included templates.
is there something similar in php HAML?... more »
|
|
Haml/Sass 2.2.11 and 2.2.12 Released
|
| |
Hi folks, I've just released Haml 2.2.11 and 2.2.12. I made a stupid mistake in 2.2.11 (the Sass plugin ceased functioning), so I released 2.2.12 as soon as I discovered that and fixed it. The new version has a larger-than-normal number of exciting fixes and improvements, including: * A fix for a long-standing and widespread bug in reporting the line number... more »
|
|
Support for multiple "ContentPlaceHolders"
|
| |
is there a feature like this in haml? ============================== ===== Is there a way to have something like "ContentPlaceholders" in the master file as in aspx forms, so that I can replace for example the content in the TitleRegion specified in the master file with content coming from the the current view?... more »
|
|
how to insert HAML via function into template?
|
| |
I'm using HAML in a merb project.
I have function generated HTML that I wish to convert to HAML and
insert into a HAML template.
convert(html) returns haml
All the naive methods I've tried at best insert the converted haml as
a string into the rendered html rather than including it as code for... more »
|
|
How to use haml for simple pages?
|
| |
Hello, I want to write some web pages using embedded ruby & haml, but
without rails or staticmatic. Dreamhost has the gem installed. What
do I need, in order to simply write plain index.haml files ?
|
|
Haml/Sass 2.2.10 Released
|
| |
I've just released Haml and Sass 2.2.10. As always, the changelogs are up at [link] and [link]. Most notable among the improvements is fixing a few bugs in the support of Rails' XSS protection, pointed out by Bruno Michel.... more »
|
|
Bug in #cycle
|
| |
Failing example (matching first arguments in #cycle) ---
%tbody
%tr
%td
- 1.upto(3) do |i|
%div(style="background-color: #{cycle '#abC', '#fff'};"
class="td")= i
%td
- 1.upto(3).each do |i|
%div(style="background-color: #{cycle '#abC', '#fff'};"... more »
|
|
HTML comment before and after a block
|
| |
Hi all,
In haml:
/ Header
... ...
renders in html:
<!-- Header -->
<div id='header'>
...
</div>
I wonder if it's possible to automatically add a closing comment to
the block, in this way:
<!-- Header -->
<div id='header'>
...
</div>
<!-- End of Header -->
Maybe a feature request...... more »
|
|
|