Skip to content

Individual Needs: Improved the code so that the file upload is consistent with other files#2117

Merged
SKuipers merged 2 commits into
GibbonEdu:v31.0.00from
ali-ichk:Individual-Needs---improved-the-code
Jun 18, 2026
Merged

Individual Needs: Improved the code so that the file upload is consistent with other files#2117
SKuipers merged 2 commits into
GibbonEdu:v31.0.00from
ali-ichk:Individual-Needs---improved-the-code

Conversation

@ali-ichk

Copy link
Copy Markdown
Contributor

No description provided.

$row = $form->addRow()->addClass('rowFile');
$row->addLabel('file', __('PDF File'));
$row->addFileUpload('file')->accepts('.pdf');
$row->addLabel('file', __('Upload File'));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ali-ichk Instead of Upload File and Upload Link, can we update this to just use File and Link, as these are existing strings and will make more sense when used on both the add and edit page.

@ali-ichk ali-ichk requested a review from SKuipers June 18, 2026 01:00
@SKuipers SKuipers merged commit 29b8455 into GibbonEdu:v31.0.00 Jun 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants