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 do I make an image link tag using haml in Rails?

I have something like this in application.html.haml: #header = image_tag("header.jpg") How do I make that link …

ruby-on-rails haml
How to access instance variables in CoffeeScript engine inside a Slim template

I have a Rails controller in which I am setting a instance variable - @user_name = "Some Username" In my .…

ruby-on-rails ruby-on-rails-3 coffeescript haml slim-lang
How do I make this link tag in HAML?

How can I do something like this in HAML (within Rails app such that it matters)? <li><…

ruby-on-rails haml
Contact form in ruby, sinatra, and haml

I'm new to all three, and I'm trying to write a simple contact form for a website. The code I …

ruby sinatra haml pony
add checkbox with simple_form without association with model?

How I can add checkbox with simple_form without association with model? I want to create checkbox which will handle …

ruby-on-rails haml simple-form
Rendering partial with locals in Haml?

I am learning Haml. My view files are like: show.html.haml: .content = render 'meeting_info', :locals => { :info => @…

ruby-on-rails haml partial-views
How to add an image to the contents using HAML?

New to this tagging language, and I'm having trouble finding documentation mentioning how to work with images. An example or …

image haml
Haml: Control whitespace around text

In my Rails template, I'd like to accomplish final HTML to this effect using HAML: I will first <a …

ruby-on-rails haml
Convert existing html.erb to Haml

I have a rails project, the views only consist with HTML.ERB files, my client wants to convert ERB to …

ruby-on-rails haml erb
Is there a good HAML -> ERB/HTML converter?

I'm looking for a reliable way to convert a HAML template to an equivalent ERB/HTML template? Has anyone come …

ruby-on-rails haml converter