erblint: remove leading blank lines

This commit is contained in:
Tom Hughes 2019-03-28 00:29:04 +00:00
parent 89341ce266
commit 49da87fb6d
10 changed files with 32 additions and 54 deletions

View file

@ -1,11 +1,9 @@
<%
user_data = {
<% user_data = {
:lon => contact.home_lon,
:lat => contact.home_lat,
:icon => image_path(type == "friend" ? "marker-blue.png" : "marker-green.png"),
:description => render(:partial => "popup", :object => contact, :locals => { :type => type })
}
%>
} %>
<%= content_tag :div, :class => "contact-activity clearfix", :data => { :user => user_data } do %>
<%= user_thumbnail contact %>
<div class='activity-details'>

View file

@ -185,14 +185,12 @@
<% content_for :head do %>
<%= javascript_include_tag "user" %>
<% end %>
<%
user_data = {
:lon => current_user.home_lon,
:lat => current_user.home_lat,
:icon => image_path("marker-red.png"),
:description => render(:partial => "popup", :object => current_user, :locals => { :type => "your location" })
}
%>
<% user_data = {
:lon => current_user.home_lon,
:lat => current_user.home_lat,
:icon => image_path("marker-red.png"),
:description => render(:partial => "popup", :object => current_user, :locals => { :type => "your location" })
} %>
<%= content_tag "div", "", :id => "map", :class => "content_map", :data => { :user => user_data } %>
<% end %>