Skip to content

Commit

Permalink
Merge branch '1' into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 23, 2024
2 parents 13a6832 + 8f4862d commit 01e35a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/Forms/EditorEmailLinkFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace SilverStripe\Admin\Forms;

use SilverStripe\Forms\EmailField;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\TextField;
use SilverStripe\Forms\RequiredFields;
Expand All @@ -11,7 +12,7 @@ class EditorEmailLinkFormFactory extends LinkFormFactory
protected function getFormFields($controller, $name, $context)
{
$fields = FieldList::create([
TextField::create(
EmailField::create(
'Link',
_t(__CLASS__.'.EMAIL', 'Email address')
),
Expand Down

0 comments on commit 01e35a1

Please sign in to comment.