Skip to content

Instantly share code, notes, and snippets.

View nelsonblaha's full-sized avatar

Ben Nelson nelsonblaha

  • Wieck
  • Dallas, TX
View GitHub Profile
@nelsonblaha
nelsonblaha / formitem.sublime-snippet
Created June 7, 2012 01:32
Multiple-cursor sublime text 2 snippet for making a form item
<snippet>
<content><![CDATA[
<div class="field">
<%= f.label $1 %>
<%= f.$2 $1 %>
</div>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>formitem</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger