Skip to content

Instantly share code, notes, and snippets.

@sher
Forked from Znow/gist:921691
Created April 15, 2011 13:34
Show Gist options
  • Save sher/921693 to your computer and use it in GitHub Desktop.
Save sher/921693 to your computer and use it in GitHub Desktop.
- @employees.each do |employee|
%span{:style=>"float:left;margin-right:20px;"}= image_tag employee.image
%div{:style=>"float:left;margin-top:30px;"}
= employee.name
,
= employee.title
%br/
%br/
= mail_to employee.email
%br/
%br/
= employee.phone
= link_to 'New Employee', new_employee_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment