Skip to content

Instantly share code, notes, and snippets.

@Znow
Created April 15, 2011 13:33
Show Gist options
  • Save Znow/921691 to your computer and use it in GitHub Desktop.
Save Znow/921691 to your computer and use it in GitHub Desktop.
- @employees.each do |employees|
%span{:style=>"float:left;margin-right:20px;"}= image_tag @employees.image
%div{:style=>"float:left;margin-top:30px;"}
= @employees.name
,
= @employees.title
%br/
%br/
= mail_to @employees.email
%br/
%br/
= @employees.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