Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrawiel committed May 22, 2023
1 parent 27609b6 commit 6c76b96
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Classes/ViewHelpers/FormViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@

namespace TRAW\Powermailautocomplete\ViewHelpers;

use TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfigurationService;
use TYPO3\CMS\Extbase\Mvc\RequestInterface;
use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
use TYPO3\CMS\Extbase\Security\Cryptography\HashService;
use TYPO3\CMS\Extbase\Service\ExtensionService;
use TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormViewHelper;
use TYPO3\CMS\Fluid\ViewHelpers\Form\CheckboxViewHelper;

/**
* Form ViewHelper. Generates a :html:`<form>` Tag.
*
Expand Down Expand Up @@ -129,7 +121,7 @@ public function render()
$this->removeCheckboxFieldNamesFromViewHelperVariableContainer();

$autocomplete = $this->arguments['autocomplete'] ?? null;
if(!empty($autocomplete)) {
if (!empty($autocomplete)) {
$this->tag->addAttribute('autocomplete', $autocomplete);
}

Expand Down

0 comments on commit 6c76b96

Please sign in to comment.