Skip to content

Commit

Permalink
Fixes #5043 (#5047)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekdahl authored and fisharebest committed Oct 23, 2024
1 parent 2434dba commit 12074ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/views/modals/media-file-fields.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use Fisharebest\Webtrees\Tree;

?>

<div class="row <?= $media_file instanceof MediaFile ? 'd-none' : '' ?>">
<div class="row mb-3 <?= $media_file instanceof MediaFile ? 'd-none' : '' ?>">
<label class="col-form-label col-sm-2" for="file-location">
<?= I18N::translate('Media file') ?>
</label>
Expand All @@ -39,7 +39,7 @@ use Fisharebest\Webtrees\Tree;
</div>
</div>

<div class="row file-location file-location-upload <?= $media_file instanceof MediaFile ? 'd-none' : '' ?>">
<div class="row file-location file-location-upload mb-3 <?= $media_file instanceof MediaFile ? 'd-none' : '' ?>">
<label class="col-form-label col-sm-2" for="file">
<?= I18N::translate('A file on your computer') ?>
</label>
Expand All @@ -52,7 +52,7 @@ use Fisharebest\Webtrees\Tree;
</div>
</div>

<div class="row file-location file-location-upload <?= $media_file instanceof MediaFile && $media_file->isExternal() ? 'd-none' : '' ?>">
<div class="row file-location file-location-upload mb-3 <?= $media_file instanceof MediaFile && $media_file->isExternal() ? 'd-none' : '' ?>">
<label class="col-form-label col-sm-2" for="folder">
<?= I18N::translate('Filename on server') ?>
</label>
Expand Down Expand Up @@ -83,7 +83,7 @@ use Fisharebest\Webtrees\Tree;
</div>
</div>

<div class="row file-location file-location-unused d-none">
<div class="row file-location file-location-unused mb-3 d-none">
<label class="col-form-label col-sm-2" for="unused">
<?= I18N::translate('A file on the server') ?>
</label>
Expand All @@ -94,7 +94,7 @@ use Fisharebest\Webtrees\Tree;
</div>
</div>

<div class="row file-location file-location-url <?= $media_file && $media_file->isExternal() ? '' : 'd-none' ?>">
<div class="row file-location file-location-url mb-3 <?= $media_file && $media_file->isExternal() ? '' : 'd-none' ?>">
<label class="col-form-label col-sm-2" for="remote">
<?= I18N::translate('URL') ?>
</label>
Expand Down

0 comments on commit 12074ec

Please sign in to comment.