fix: standardize save buttons to use app-action-success class

Replace inconsistent `primary` class with `app-action-success` on all
standalone save buttons so they match the green titlebar convention.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-22 16:48:57 +01:00
parent 89a64f6c82
commit 72311ddb97
5 changed files with 7 additions and 7 deletions

View File

@@ -353,7 +353,7 @@ $openOverrideCard = $detailsOpenAll;
<small class="muted"><?php e(t('One option per line. Optional format: key|Label.')); ?></small>
</label>
</div>
<button type="submit" class="primary" form="tenant-custom-field-create-form" <?php e($disabledAttr); ?>>
<button type="submit" class="app-action-success" form="tenant-custom-field-create-form" <?php e($disabledAttr); ?>>
<?php e(t('Add custom field')); ?>
</button>
</div>
@@ -468,7 +468,7 @@ $openOverrideCard = $detailsOpenAll;
</div>
<hr>
<div class="grid">
<button type="submit" class="primary" form="<?php e($updateFormId); ?>" <?php e($disabledAttr); ?>>
<button type="submit" class="app-action-success" form="<?php e($updateFormId); ?>" <?php e($disabledAttr); ?>>
<?php e(t('Save')); ?>
</button>
<button type="submit" class="danger" form="<?php e($deleteFormId); ?>" <?php e($disabledAttr); ?>>