We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9204ef commit 38f3094Copy full SHA for 38f3094
inc/form.class.php
@@ -570,12 +570,22 @@ public function showForm($ID, $options = []) {
570
echo '</td>';
571
echo '</tr>';
572
573
+ echo '<tr>';
574
echo '<td>'.__('Default form in service catalog', 'formcreator').'</td>';
575
echo '<td>';
576
Dropdown::showYesNo("is_default", $this->fields["is_default"]);
577
578
579
580
+ if (!$this->canPurgeItem()) {
581
582
+ echo '<td colspan="4">'
583
+ . '<i class="fas fa-exclamation-triangle"></i> '
584
+ . __('To delete this form you must delete all its answers first.', 'formcreator')
585
+ . '</td>';
586
+ echo '</tr>';
587
+ }
588
+
589
$this->showFormButtons($options);
590
}
591
0 commit comments