Sha256: 8d5235c9d9cf4fadfe03d237880ab498d45cba9bb20064102e7b30e85ac8cbb6

Contents?: true

Size: 503 Bytes

Versions: 5

Compression:

Stored size: 503 Bytes

Contents

<div class="agents-wrapper">
	<div class="constrain">
		<h2>Our Agents</h2>
		<div class="agent-grid">
			<% @agents.each do |agent| %>
				<% pic = agent.meta ? agent.meta.image.url(:large) : 'https://cabooseit.s3.amazonaws.com/assets/shared/default_profile.png' %>
				<a href="/agents/<%= agent.mls_id %>" class="agent">
					<div class="photo" style="background-image:url(<%= pic %>);"></div>
					<h5><%= agent.first_name %> <%= agent.last_name %></h5>
				</a>
			<% end %>
		</div>
	</div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
caboose-rets-0.1.31 app/views/caboose_rets/agents/index.html.erb
caboose-rets-0.1.30 app/views/caboose_rets/agents/index.html.erb
caboose-rets-0.1.29 app/views/caboose_rets/agents/index.html.erb
caboose-rets-0.1.28 app/views/caboose_rets/agents/index.html.erb
caboose-rets-0.1.27 app/views/caboose_rets/agents/index.html.erb