Skip to content

Commit 98f543b

Browse files
authored
Update button.blade.php
1 parent e51491f commit 98f543b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/resources/views/button.blade.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@
66
if(empty($currency)){
77
$currency = 'rai';
88
}
9+
if(empty($expanded)){
10+
$expanded = false;
11+
}
12+
if(empty($size)){
13+
$size = 'responsive';
14+
}
915
?>
10-
<div v-pre rel="brainblocks-button" data-id="{{ $buttonId }}" data-amount="{{ $amount }}" data-destination="{{ $destination }}" data-currency="{{ $currency }}" id="{{ $buttonId }}-button"></div>
16+
<div v-pre rel="brainblocks-button" data-id="{{ $buttonId }}" data-amount="{{ $amount }}" data-destination="{{ $destination }}" data-currency="{{ $currency }}" data-size="{{ $size }}" data-expanded="{{ $expanded }}" id="{{ $buttonId }}-button"></div>
1117
<form action="{{ $action }}" method="POST" id="{{ $buttonId }}-form">
1218
<input type="hidden" name="brainblocks_token" id="{{ $buttonId }}-token" value="" />
1319
{{ csrf_field() }}
14-
</form>
20+
</form>

0 commit comments

Comments
 (0)