- main_toolbar do |t|
  = t.edit resource
  - if resource.in_progress?
    = t.abort resource, method: :post, data: { confirm: :are_you_sure.tl }
  - else
    = t.run resource, method: :post

= main_informations do
  = attributes_list do |l|
    - l.attribute :importer, url: true
    - l.attribute :state
    - l.attribute :imported_at
  = render 'progress', import: resource

- main_toolbar do |t|
  = t.edit resource
  - if resource.in_progress?
    = t.abort resource, method: :post, data: { confirm: :are_you_sure.tl }
  - else
    = t.run resource, method: :post, class: 'primary'

= main_informations do
  = attributes_list do |l|
    - l.attribute :importer, url: true
    - l.attribute :state
    - l.attribute :imported_at
  = render 'progress', import: resource

Add class primary to the 'Run' button
Add class primary to the 'Run' button
