* user: refactor the component of newCompany in create page.

This commit is contained in:
liugang
2023-11-23 16:35:44 +08:00
parent f117e0f471
commit e53ec42d71
+13 -9
View File
@@ -54,16 +54,20 @@ formPanel
set::items($companies),
set::value('')
),
span
input
(
set('class', 'input-group-addon'),
checkbox
(
set::id('addCompany'),
set::name('new[]'),
set::value('1'),
set::text($lang->company->create)
)
set::name('newCompany'),
setClass('hidden')
),
checkbox
(
on::change('toggleNew'),
set::id('new'),
set::name('new'),
set::value(1),
set::text($lang->company->create),
set::rootClass('btn'),
width('96px')
)
)
)