Skip to content

Instantly share code, notes, and snippets.

@cascalheira
Created September 17, 2012 11:11
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 cascalheira/3736731 to your computer and use it in GitHub Desktop.
Save cascalheira/3736731 to your computer and use it in GitHub Desktop.
/ Copied this:
- unless @orders_new.empty?
%li
= form_tag('/management/orders/batch/') do
= hidden_field_tag "do", "print"
%table
%tr
%th
%input#selectall{:type => "checkbox"}
%th Costumer
%th Gallery
%th # Photos
%th Value
%th Shipping
%th Total
%th
/ After pasting and using cmt + [ got this:
- unless @orders_new.empty?
%li
= form_tag('/management/orders/batch/') do
= hidden_field_tag "do", "print"
%table
%tr
%th
%input#selectall{:type => "checkbox"}
%th Costumer
%th Gallery
%th # Photos
%th Value
%th Shipping
%th Total
%th
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment