Skip to content

Commit

Permalink
[TASK] Replace deprecated template definitions in TypoScript, add typ…
Browse files Browse the repository at this point in the history
…e=number to form
  • Loading branch information
pascal20997 committed Mar 8, 2021
1 parent 9a5390a commit ec69244
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions Configuration/TypoScript/setup.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
plugin.tx_contributorycalculator {
view {
templateRootPath = {$plugin.tx_contributorycalculator.view.templateRootPath}
partialRootPath = {$plugin.tx_contributorycalculator.view.partialRootPath}
layoutRootPath = {$plugin.tx_contributorycalculator.view.layoutRootPath}
templateRootPaths {
0 = EXT:contributory_calculator/Resources/Private/Templates/
1 = {$plugin.tx_contributorycalculator.view.templateRootPath}
}
partialRootPaths {
0 = EXT:contributory_calculator/Resources/Private/Partials/
1 = {$plugin.tx_contributorycalculator.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:contributory_calculator/Resources/Private/Layouts/
1 = {$plugin.tx_contributorycalculator.view.layoutRootPath}
}
}

persistence {
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Search/Form.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<label for="chargeableIncome">
{f:translate(key: 'tx_contributorycalculator_domain_model_search.chargeable_income')}
</label>
<f:form.textfield id="chargeableIncome"
<f:form.textfield id="chargeableIncome" type="number"
property="chargeableIncome" />
</div>

Expand Down

0 comments on commit ec69244

Please sign in to comment.