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.

How to render a partial in sinatra view (haml in haml)?

I have a simple sinatra app that uses haml and sass for the views. One of the views (located in …

ruby view sinatra haml
Rails3 hidden_field in haml

I use rails and haml, haml-rails. How I create hidden_field in haml? I have field: .field = f.label :submit_…

ruby-on-rails haml hidden-field
Should I use haml or erb or erubis for potentially high traffic site?

I have been playing with Haml recently and really like the way the resulting code looks to me...the developer. …

ruby-on-rails ruby haml erb eruby
Using layouts in HAML files independently of Rails

My end goal is to create several static HTML files for hand-off to other folks. But for my workflow, I'd …

ruby haml
Haml syntax: split a line to a couple of rows

I use HAML in my rails project for my html templates. I would like to figure out if its possible …

ruby-on-rails syntax haml
Markdown Line Breaks in Code Blocks

Using Redcarpet, when I include something like the following in my markdown, it does not respect any line breaks or …

ruby haml markdown redcarpet
Basic Each Loop Ruby on Rails

I have created an app to experiment with HAML and Nitrous.io but seem to be having a basic issue …

ruby-on-rails ruby-on-rails-3 haml nitrousio
Conditionally set HTML element id with HAML

I am attempting to write this html in haml so as to add an id tag if the item is …

ruby-on-rails if-statement haml
ERB vs HAML conversion of an if condition?

I am getting started with HAML and am working on my converting my first file. The ostensibly correct omission of …

ruby-on-rails haml erb
Partial HAML templating in Ruby without Rails

I really don’t need the overhead of Rails for my very small project, so I’m trying to achieve …

ruby haml templating