<div class="tabs">
  <ul>
    <li><%= link_to l(:label_status_transitions), workflows_edit_path(:role_id => @roles, :tracker_id => @trackers), :class => (action_name == 'edit' ? 'selected' : nil) %></li>
    <li><%= link_to l(:label_fields_permissions), workflows_permissions_path(:role_id => @roles, :tracker_id => @trackers), :class => (action_name == 'permissions' ? 'selected' : nil) %></li>
    <% if Redmine::Plugin.installed? :easy_crm %>
      <li><%= link_to l(:label_crm_fields_permissions), workflows_crm_permissions_path, :class => (action_name == 'crm_permissions' ? 'selected' : nil) %></li>
    <% end %>
  </ul>
</div>
