Skip to content

Instantly share code, notes, and snippets.

@benwoodward
Created August 12, 2014 13:45
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 benwoodward/3e453b8836b31ebcafb3 to your computer and use it in GitHub Desktop.
Save benwoodward/3e453b8836b31ebcafb3 to your computer and use it in GitHub Desktop.
How to convert html 5 data attributes in haml to html
%table.table.table-bordered.table-striped#sortable{:data => {update_url:
sort_admin_things_path}}
<table class="table table-bordered table-striped" id="sortable" data-update_url=<%= sort_admin_things_path %> >
</table>
@benwoodward
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment