Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zauberfisch committed Jan 16, 2018
2 parents 0385942 + 0a65dfd commit a555612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/ArrayListField.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function Field($properties = []) {
/** @noinspection PhpParamsInspection */
return (new \CompositeField([
(new \CompositeField($fields))->addExtraClass('record-list'),
(new \FormAction('addRecord', _t('ArrayListField.AddRecord', 'add record')))
(new \FormAction('addRecord', _t('zauberfisch\SerializedDataObject\Form\ArrayListField.AddRecord', 'add record')))
->setUseButtonTag(true)
->addExtraClass('font-icon-plus')
->addExtraClass('add-record'),
Expand Down Expand Up @@ -143,7 +143,7 @@ protected function getRecordFields($index, AbstractDataObject $record = null) {
->setUseButtonTag(true)
->addExtraClass('delete-record')
->addExtraClass('font-icon-cancel-circled')
->setAttribute('data-confirm', _t('ArrayListField.ConfirmDelete', 'Are you sure you want to delete this record?')),
->setAttribute('data-confirm', _t('zauberfisch\SerializedDataObject\Form\ArrayListField.ConfirmDelete', 'Are you sure you want to delete this record?')),
];
if ($this->orderable) {
$controls [] = (new \FormAction('ArrayListFieldControlsOrderableUp', ''))
Expand Down

0 comments on commit a555612

Please sign in to comment.