From cd2e88f00ec5424dfe5345456cb6e10434252a14 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Fri, 20 Mar 2026 18:10:17 -0400 Subject: [PATCH] Improve "configure" and "unfreeze" link formatting (CFM-491) --- app/templates/element/form/infoDiv/status.php | 6 ++---- app/webroot/css/co-base.css | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/templates/element/form/infoDiv/status.php b/app/templates/element/form/infoDiv/status.php index 1160cdc3b..beac2e084 100644 --- a/app/templates/element/form/infoDiv/status.php +++ b/app/templates/element/form/infoDiv/status.php @@ -47,16 +47,14 @@ $linkHtml .= ' ' . $this->Html->link( $link['label'], $link['url'], - $link + ['class' => 'btn btn-sm btn-primary inline-form-button'] ); } else { // Make $status the link $linkHtml = $this->Html->link( $status, - $link['url'], - // Pass whatever other args are specified - $link + $link['url'] ); } } diff --git a/app/webroot/css/co-base.css b/app/webroot/css/co-base.css index 13f148982..d9713266c 100644 --- a/app/webroot/css/co-base.css +++ b/app/webroot/css/co-base.css @@ -1665,6 +1665,10 @@ ul.form-list li.fields-submit .field-info { display: flex; gap: 1em; } +ul.form-list .btn.inline-form-button { + padding: 0.25rem 0.75rem; + margin-left: 1rem; +} ul.field-children { margin: 0.5em; padding: 0;