Skip to content

Instantly share code, notes, and snippets.

@we4tech
Created November 18, 2011 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save we4tech/1377936 to your computer and use it in GitHub Desktop.
Save we4tech/1377936 to your computer and use it in GitHub Desktop.
Haml issue with autoclosing
-- HAML
#new_schedule{title: "Add Schedule"}
%form
%fieldset.ui-helper-reset
%label{for: "tab_title"} Title
%input#tab_title.ui-widget-content.ui-corner-all{type: "text", name: "tab_title", value: ""}
-- Converted HTML
<div id='new_schedule' title='Add Schedule'>
<form>
<fieldset class='ui-helper-reset'>
<label for='tab_title'>Title</label>
<input class='ui-widget-content ui-corner-all' id='tab_title' name='tab_title' type='text' value=''>
</fieldset>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment