- breadcrumb :settings, current_project

= render 'settings_common_header'

.tab-content
  - if can? :manage, current_project
    .well
      %strong Delete project from Testributor (cannot be reverted): 
      = link_to "Delete", project_path(current_project), method: :delete,
        data: { confirm: "'#{current_project.name}' project will be deleted. Are you sure?" },
        class: 'btn btn-danger'

- breadcrumb :settings, current_project

= render 'settings_common_header'

.tab-content
  - if can? :manage, current_project
    .well
      %strong Delete project from Testributor (cannot be reverted): 
      = link_to "Delete", project_path(current_project), method: :delete,
        data: { confirm: "'#{current_project.name}' project will be deleted. Are you sure?" },
        class: 'btn btn-danger'
  - else
    - # Remove this when we add general settings which the non-owner users can change
    .alert.alert-danger Only the owner of this project can edit these settings

Add alert message in general settings for non-owner users
Add alert message in general settings for non-owner users
