Skip to content

Instantly share code, notes, and snippets.

@JonathanVeg
Created June 17, 2013 17:49
Show Gist options
  • Save JonathanVeg/5798744 to your computer and use it in GitHub Desktop.
Save JonathanVeg/5798744 to your computer and use it in GitHub Desktop.
.field
%select{:name => 'category', :multiple => true}
%option{:value => "0"}
= "Categoria"
- @categories.each do |c|
%option{:value => "#{c.id}"}
= c.name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment