mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 04:16:22 +00:00
15 lines
474 B
Text
15 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')
|