2016-11-01 03:18:27 +00:00
<div style="padding: 16px; background: white; text-align: left;">
<% button_style = "background-color:#4fc059;border-radius:2px;color:white;display:inline-block;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:12px;font-weight:bold;min-height:29px;line-height:29px;min-width:54px;outline:0px;padding:0 8px;text-align:center;text-decoration:none" %>
2016-10-17 00:22:00 +00:00
2016-11-01 03:18:27 +00:00
<p><span style="font-weight: bold;"><%= @request.user.name %></span> is requesting access to <span style="font-weight: bold">collaboratively edit</span> the following map:</p>
2016-10-17 00:22:00 +00:00
2016-11-01 03:18:27 +00:00
<p><%= @map.name %></p>
2016-10-17 00:22:00 +00:00
2016-11-01 03:18:27 +00:00
<p><%= link_to "Allow", approve_access_map_url(id: @map.id, request_id: @request.id), target: "_blank", style: "font-size: 18px; text-decoration: none; color: #4fc059;" %>
<p><%= link_to "Decline", deny_access_map_url(id: @map.id, request_id: @request.id), target: "_blank", style: "font-size: 18px; text-decoration: none; color: #DB5D5D;" %></p>
2016-10-17 00:22:00 +00:00
2016-11-01 03:18:27 +00:00
<%= link_to 'Open in Metamaps', map_url(@map), target: "_blank", style: button_style %>
2016-10-17 00:22:00 +00:00
2016-11-01 03:18:27 +00:00
<p style="font-size: 12px;">Make sense with Metamaps</p>
2016-10-17 00:22:00 +00:00
2016-11-01 03:18:27 +00:00
<%= render partial: 'shared/mailer_unsubscribe_link' %>
</div>