app/views/labs/map.html.haml
- title "Labs Map"
.subnavbar.border-bottom
.container
.row
.col-md-4.border-right.py-4.list-map
= render "header"
.col-md-4.border-right.py-4
.col-md-4.py-4
- if current_user
= link_to new_lab_path, class: "btn btn-primary" do
= icon "plus", t(".add_a_lab", default: "Add Lab")
- else
= link_to new_lab_path, class: "btn btn-primary", title: "You need to be signed in to add a Lab" do
= icon "plus", t(".add_a_lab", default: "Add Lab")
.container-fluid
= render 'sidemap', zoom_level: 2, icon_size: 30, center_lat: 25, center_lng: 0