1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Simplified snippet example. Added caching of loaded snippet.

This commit is contained in:
Cameron
2020-12-23 08:04:20 -08:00
parent 5009b35163
commit ffea1449f9
4 changed files with 61 additions and 29 deletions

View File

@@ -1148,7 +1148,7 @@ class e_formTest extends \Codeception\Test\Unit
$result = $this->_frm->checkbox('myname', 3, true, ['readonly'=>true]);
$expected = "<label class='checkbox form-check'>
<input id='myname-3' class='form-check-input' type='checkbox' name='myname' value='3' readonly='readonly' checked='checked' />
<input class='form-check-input' type='checkbox' id='myname-3' readonly='readonly' checked='checked' />
<span></span>
</label>";