Commit 3b4c736f authored by Adam Shepherd's avatar Adam Shepherd
Browse files

Issue #3270407 by AdamPS, larisse: Indicate which policy is being edited

parent 14ec3d43
Loading
Loading
Loading
Loading
+7 −0
Changes for src/Form/PolicyEditForm.php: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -33,6 +33,13 @@ class PolicyEditForm extends EntityForm {
    $form['#prefix'] = '<div id="mailer-policy-edit-form">';
    $form['#suffix'] = '</div>';

    $form['label'] = [
      '#markup' => $this->entity->label(),
      '#prefix' => '<h2>',
      '#suffix' => '</h2>',
      '#weight' => -2,
    ];

    // Add adjuster button.
    $ajax = [
      'callback' => '::ajaxUpdate',