Add basic table output on afform list page
authorColeman Watts <coleman@civicrm.org>
Sun, 9 Jun 2019 13:10:11 +0000 (09:10 -0400)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:18 +0000 (19:13 -0700)
ext/afform/gui/ang/afformGui/afformList.html

index 165d91bc02585de34e41bf4ef106c9fa8d049b1b..59fa732c38ef9db243e5d537363bc23a7a052d0b 100644 (file)
@@ -1,4 +1,25 @@
 <div class="crm-container">
   <div crm-ui-debug="afforms"></div>
 
+  <h1 crm-page-title>{{ ts('All Forms') }}</h1>
+
+  <table>
+    <thead>
+      <tr>
+        <th>Title</th>
+        <th>Name</th>
+        <th>Route</th>
+        <th>Public</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr ng-repeat="afform in afforms">
+        <td>{{ afform.title }}</td>
+        <td>{{ afform.name }}</td>
+        <td>{{ afform.server_route }}</td>
+        <td>{{ afform.is_public }}</td>
+      </tr>
+    </tbody>
+  </table>
+
 </div>