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!
|
|
|
Examples clipped reading Haml docs on iPhone
|
| |
When reading the Haml ref ([link]
classes/Haml.html) on my iPhone I can't read many of the code
snippets. I haven't checked up on how it could be fixed, but I'll
google around some to see if I find anything.
Reading Haml documentation is a really refreshing way to kill time on... more »
|
|
HAML + JavaScript interpolation problem
|
| |
Hey folks,
i read the documentation and transformed "most" of my ERBs to HAML but
i still don't know how to interpolate view / controller variables in
HAML.
This is the part from my ERB i want to transform into HAML:
CODE:
<ul>
<% @tracks.each do |track|%>
<li><%= track.title %></li>... more »
|
|
Haml for XML
|
| |
I really have two questions
1 ) I want to use HAML to render arbitrary XML documents, not super
fancy XML, but I want to use it instead of builder, I don't see a lot
of references to anyone doing it. Is this madness?
2 ) To use it the way I want I would like to be able to specify tags
programmatically.... more »
|
|
Bug: plain filter and ruby expression substitution string
|
| |
I found an intresting thing, when I want to insert a plain ruby code
in my text. Syntax was ok, but render failed. I made a little test.
Here it is:
test.haml:
%pre
:plain
"#{line}"
haml -c test.haml => Syntax Ok
ham test.haml =>
Exception on line 3: undefined local variable or method `line' for... more »
|
|
css2sass indentation issues
|
| |
I just ran css2sass through a few css files. The resulted sass file had some indentation problems. Attaching one of the css files hoping it might be useful to fix the problem. Sorry if this is not the appropriate place to report this.
|
|
Confused by rendering, validation error on form
|
| |
Haml:
... = link_to image_tag('nutrograph-alpha.pn g'), root_path
#nav_search
- form_tag root_path, :method => 'get' do
= text_field_tag 'search', params[:search]
= submit_tag 'Search Foods', { :name => nil }
Source puts <form> tag all the way on the left of the page. And I get... more »
|
|
Using haml (sass) in Django or other non-Ruby implementation
|
| |
Hello,
I'm wondering if anybody has done an implementation of haml/sass in a
non-Ruby environment? I'm considering starting a new project where
the backend developer is a Python guy and the frontend person wants to
use haml/sass. I'm giving up my PHP background and will adapt to
whatever we can all settle on.... more »
|
|
capture_haml broken in edge rails?
|
| |
HI Guys,
Problem in a nutshell: In an edge rails app with edge haml, using
content_for in a helper method fails to yield content to the layout.
Here's the relevant pastie:
[link]
I've been using Haml for awhile now, but have never delved into its
implementation. Recently I was using it with a Rails 2.1.1 app but... more »
|
|
|