From 2d111ef4d7fa5c4d9d27b419b54419f20e0c57e9 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Fri, 4 Jun 2021 12:01:45 +0100 Subject: Fields for new repositories --- resources/views/modals/create-repository.phtml | 6 ++++-- resources/views/modals/repository-fields.phtml | 21 ++++++++++++++------- resources/views/modals/restriction-fields.phtml | 2 +- 3 files changed, 19 insertions(+), 10 deletions(-) (limited to 'resources') diff --git a/resources/views/modals/create-repository.phtml b/resources/views/modals/create-repository.phtml index 01538ef879..a4d011d51e 100644 --- a/resources/views/modals/create-repository.phtml +++ b/resources/views/modals/create-repository.phtml @@ -1,11 +1,13 @@ $elements + * @var Tree $tree */ ?> @@ -16,7 +18,7 @@ use Fisharebest\Webtrees\Tree; I18N::translate('Create a repository')]) ?> diff --git a/resources/views/modals/repository-fields.phtml b/resources/views/modals/repository-fields.phtml index 57cef2bf51..10bdb53763 100644 --- a/resources/views/modals/repository-fields.phtml +++ b/resources/views/modals/repository-fields.phtml @@ -1,14 +1,21 @@ $elements + * @var Tree $tree + */ ?> -
- - -
+ $element) : ?> +
+ + edit($id, $id, '', $tree) ?> +
+ diff --git a/resources/views/modals/restriction-fields.phtml b/resources/views/modals/restriction-fields.phtml index 5a2fccc204..9cb34befdf 100644 --- a/resources/views/modals/restriction-fields.phtml +++ b/resources/views/modals/restriction-fields.phtml @@ -6,7 +6,7 @@ use Fisharebest\Webtrees\I18N;