Skip to content

Commit 2e5b8da

Browse files
Anton ShevchukAnton Shevchuk
authored andcommitted
Updated thumbnail preview
1 parent aa454aa commit 2e5b8da

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

application/modules/test/views/index.phtml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,30 +239,32 @@ $this->headScript($this->baseUrl('js/test/config.js'));
239239
<?= $this->ahref(
240240
'Ajax + Messages',
241241
['test', 'ajax'],
242-
['class' => 'btn btn-light', 'data-ajax' => 1, 'data-messages' => true]
242+
['class' => 'btn btn-light', 'data-ajax', 'data-messages' => true]
243243
); ?>
244244
<?= $this->ahref(
245245
'Ajax + Confirm',
246246
['test', 'ajax'],
247-
['class' => 'btn btn-warning', 'data-ajax' => 1, 'data-confirm' => 1]
247+
['class' => 'btn btn-warning', 'data-ajax', 'data-confirm']
248248
); ?>
249249
<?= $this->ahref(
250250
'Load HTML',
251251
['test', 'ajax-html'],
252-
['class' => 'btn btn-light', 'data-ajax-load' => 1, 'data-ajax-target' => '#load']
252+
['class' => 'btn btn-light', 'data-ajax-load', 'data-ajax-target' => '#load']
253253
); ?>
254254
<?= $this->ahref(
255255
'Load + Confirm',
256256
['test', 'ajax-html'],
257-
['class' => 'btn btn-warning', 'data-ajax-load' => 1, 'data-ajax-target' => '#load', 'data-confirm' => 'Are you wand to load data from server?']
257+
['class' => 'btn btn-warning', 'data-ajax-load', 'data-ajax-target' => '#load', 'data-confirm' => 'Are you wand to load data from server?']
258258
); ?>
259259
<div>
260-
<select class="form-control" name="formName" data-ajax-load data-ajax-source="/test/ajax-form"
261-
data-ajax-target="#load">
262-
<option value="">Select Form</option>
263-
<option value="first-form">First</option>
264-
<option value="second-form">Second</option>
265-
</select>
260+
<select class="form-control" name="formName"
261+
data-ajax-load
262+
data-ajax-source="/test/ajax-form"
263+
data-ajax-target="#load">
264+
<option value="">Select Form</option>
265+
<option value="first-form">First</option>
266+
<option value="second-form">Second</option>
267+
</select>
266268
</div>
267269
</div>
268270
<hr/>

0 commit comments

Comments
 (0)