 
 
         if already_exist is true
-          # Don't change the name if a different layer use this name
+# Don't change the name if a different layer use this name
           $(e.currentTarget).closest('.leaflet-popup-content').find('.leaflet-popup-warning').removeClass 'hide'
 
 

              options = $.extend true, {}, @options.show.layerDefaults[layer.type], layer, parent: this
              renderedLayer = M.layer(layer, data, options)
              if renderedLayer and renderedLayer.valid()
                # Build layer group
                layerGroup = renderedLayer.buildLayerGroup(this, options)
                layerGroup.name = layer.name
                layerGroup.renderedLayer = renderedLayer

        popup += "<div>"
        popup += "<label for='#{attribute.property_value}'>#{attribute.property_label} : </label>"
        switch attribute.type
          when 'input'
            popup += "<input type='text' name='#{attribute.property_value}' class='updateAttributesSerieLabelInput' value='#{feature.properties[attribute.property_value] || ""}'/>"
          else
# include label
            popup += "<span>#{feature.properties[attribute.property_value] || ''}</span>"
        popup += "</div>"

