<%= alert(:close => false, :class => 'alert-info', :header => '', :text => _("You can find resource locks on this page. Exclusive lock marked with locked icon means that no other task can use locked resource while this task is running. Non-exclusive lock marked with unlocked icon means other tasks can access the resource freely, it is only used to indicate the relation of this task with the resource")) %>
<% @task.locks.each do |lock| %>

<%= lock.name %>

<%= format('%s id:%s', lock.resource_type, lock.resource_id) %>
<% end %>