<% if locked == 'false' %>

    <%= link_to({:action => 'show_plant_fields', :id => id, :controller => 'agglomerations'},
                {:title => 'Anlage zuweisen', :remote => true}) do %>
      <span><i class="fa fa-plus force-color-inheritance" aria-hidden="true"></i>Anlage zuweisen</span>
    <% end %>

<% end %>