Explorar el Código

Edit plan - enable RTE

Vijayakrishnan hace 3 años
padre
commit
88e221f7c8

+ 4 - 2
resources/views/app/patient/segment-templates/_child_plan/edit-plan.php

@@ -5,7 +5,7 @@ if ($point->lastChildPlan && $point->last_child_plan_point_scoped_note_id === $n
     $currentValue = $parsedPlan->value;
 }
 ?>
-<div visit-moe relative>
+<div visit-moe large relative>
     <a start show href="#">Edit</a>
     <form url="/api/visitPoint/upsertChildPlan" class="mcp-theme-1" right>
         <input type="hidden" name="uid" value="<?= $point->uid ?>">
@@ -15,7 +15,9 @@ if ($point->lastChildPlan && $point->last_child_plan_point_scoped_note_id === $n
         <p class="mb-2"><b>Review</b></p>
 
         <div class="mb-2">
-            <textarea data-name="value" class="form-control form-control-sm" rows="3"><?= $currentValue ?></textarea>
+            <div note-rte
+                 class="form-group mb-2 border-left border-right rte-holder"
+                 data-field-name="value"><?= $currentValue ?></div>
         </div>
         <div>
             <button submit class="btn btn-sm btn-primary mr-2">Save</button>