diff --git a/blueprints.yaml b/blueprints.yaml index e28edad5..4d7e6c1d 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -11,17 +11,6 @@ keywords: admin, plugin, manager, panel form: validation: strict fields: - enabled: - type: toggle - label: Plugin status - highlight: 1 - default: 1 - options: - 1: Enabled - 0: Disabled - validate: - type: bool - route: type: text label: Administrator path diff --git a/themes/grav/templates/partials/plugins-list.html.twig b/themes/grav/templates/partials/plugins-list.html.twig index d460562d..31d47246 100644 --- a/themes/grav/templates/partials/plugins-list.html.twig +++ b/themes/grav/templates/partials/plugins-list.html.twig @@ -21,9 +21,11 @@ v{{ plugin.version }} - - - + {% if (plugin.form.fields.enabled) %} + + + + {% endif %} {% endfor %}