Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

Commit 87ba747

Browse files
committed
add attributes to submit
1 parent 116a75a commit 87ba747

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/views/submit/default.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div class="form-group">
2-
{{ Form::submit($label, ['class' => "btn $className", 'name' => $name]) }}
2+
{{ Form::submit($label, $attributes + ['class' => "btn $className", 'name' => $name]) }}
33
</div>

src/views/submit/inline.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{ Form::submit($label, ['class' => "btn $className", 'name' => $name]) }}
1+
{{ Form::submit($label, $attributes + ['class' => "btn $className", 'name' => $name]) }}

src/views/submit/vertical.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="form-group">
22
<div class="row">
33
<div class="col-md-10 col-md-offset-2">
4-
{{ Form::submit($label, ['class' => "btn $className", 'name' => $name]) }}
4+
{{ Form::submit($label, $attributes + ['class' => "btn $className", 'name' => $name]) }}
55
</div>
66
</div>
77
</div>

0 commit comments

Comments
 (0)