Top "Haml" questions

HAML is a markup language that’s used to cleanly and simply describe the HTML of any web document without the use of inline code.

Conditionally set CSS class

How to convert this ERB code: <div <%= 'class="highlight"' if job.done %>> into Haml code?

ruby sinatra haml erb
Is it worth to learn haml & sass?

In your professional experience have haml & sass proved to be useful? In which way?

haml sass
Conditional HTML tag in HAML

How would I format HAML to output a style similar to the conditional HTML tags used for cross-browser targeting? <!…

html haml
Rails 3: undefined method `remote_form_for'

I have a fairly simple Rails remote form in HAML in a partial under shared/users: - remote_form_for :…

ruby-on-rails ajax forms haml rails-3-upgrade
Can Haml be used in Java web apps?

I hear about Haml as a templating engine mostly in the Ruby world. Can it also be used in Java …

java haml
How to add html-file with JavaScript code in template Slim?

There are HTML-file that contains JavaScript code. This JavaScript code loads an image and positioning it in a certain place. …

ruby-on-rails ruby haml slim-lang
Haml - how do I force tag attributes to use double quotes only AND how do I order tag attributes the way I want?

I use staticmatic for templates I use later with PHP. There is an odd situation where some tag attributes have …

html haml staticmatic
Is there a way to use a Ruby loop inside of HAML's :javascript region?

Inside of HAML, can we have a loop inside the :javascript region? This will work: - 10.upto(20) do |i| :javascript …

javascript ruby loops haml erb
type mismatch: String given - Trying to match strings in ruby

I am using authlogic-connect in Rails. I am using a simple haml template where i dont want to show the …

ruby regex authlogic haml ruby-on-rails-3
HAML or Jade template syntax available for Python?

Are there any template engines for Python with a syntax similar to Jade or HAML?

python haml pug