public
Created

  • Download Gist
linkedin_profile.html.erb
HTML+ERB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
<div class="row">
<div class="span4">
<div class="thumbnail">
<img src="<%= @basic_profile.picture_url %>" style="float: left;margin: 5px;">
<h3><%= @basic_profile.formatted_name %></h3>
<h4><%= @basic_profile.headline %></h4>
<br>
<p><%= @basic_profile.summary %></p>
</div>
</div>
<div class="span4">
<div class="well">
<h5>Interests</h5>
<p><%= @full_profile.interests %></p>
<br>
<h5>Associations</h5>
<p><%= @full_profile.associations %></p>
<br>
<h5>Honors</h5>
<p><%= @full_profile.honors %></p>
<br>
</div>
</div>
</div>
 
<div class="row" style="margin-top: 16px;">
<div class="span10">
<h1>Positions</h1>
<table class="table table-striped">
<tr>
<th>Title</th>
<th>Summary</th>
<th>Company Name</th>
<th>Is Current</th>
<th>Start Date</th>
<th>End Date</th>
</tr>
<% @positions.each do |p| %>
<tr>
<th><%= p.title %></th>
<th><%= p.summary %></th>
<th><%= p.company %></th>
<th><%= p.is_current %></th>
<th><%= p.start_date %></th>
<th><%= p.end_date %></th>
</tr>
<% end %>
</table>
</div>
</div>
 
<div class="row" style="margin-top: 16px;">
<div class="span10">
<h1>Educations</h1>
<table class="table table-striped">
<tr>
<th>School Name</th>
<th>Field of Study</th>
<th>Degree</th>
<th>Activities</th>
<th>Notes</th>
<th>Start Date</th>
<th>End Date</th>
</tr>
<% @educations.each do |e| %>
<tr>
<th><%= e.school_name %></th>
<th><%= e.field_of_study %></th>
<th><%= e.degree %></th>
<th><%= e.activities %></th>
<th><%= e.notes %></th>
<th><%= e.start_date %></th>
<th><%= e.end_date %></th>
</tr>
<% end %>
</table>
</div>
</div>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.