16 lines
474 B
Text
16 lines
474 B
Text
|
- if policy(site).build?
|
||
|
- if site.enqueued?
|
||
|
= render 'layouts/btn_with_tooltip',
|
||
|
tooltip: t('help.sites.enqueued'),
|
||
|
text: t('.enqueued'),
|
||
|
type: 'secondary',
|
||
|
link: nil
|
||
|
- else
|
||
|
= form_tag site_enqueue_path(site),
|
||
|
method: :post, class: 'form-inline' do
|
||
|
= button_tag type: 'submit',
|
||
|
class: 'btn no-border-radius',
|
||
|
title: t('help.sites.enqueue'),
|
||
|
data: { toggle: 'tooltip' } do
|
||
|
= t('sites.enqueue')
|