Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
add template option
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Nov 21, 2014
1 parent 0f24871 commit a4f1b57
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ return
*/
'formCss'=> '',

/*
* Url of the template which will be applied on Europabank pages
*/
'template'=> '',

/*
* Optional title of the payment form
*/
Expand Down
5 changes: 5 additions & 0 deletions src/Spatie/Payment/Gateways/Europabank/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
{{ Form::hidden('Css', Config::get('payment::europabank.formCss')) }}
@endif

@if (Config::get('payment::europabank.template'))
{{ Form::hidden('Template', Config::get('payment::europabank.template')) }}
@endif


@if (Config::get('payment::europabank.formTitle'))
{{ Form::hidden('Title', Config::get('payment::europabank.formTitle')) }}
@endif
Expand Down
5 changes: 5 additions & 0 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
*/
'formCss'=> '',

/*
* Url of the template which will be applied on Europabank pages
*/
'template'=> '',

/*
* Optional title of the payment form
*/
Expand Down

0 comments on commit a4f1b57

Please sign in to comment.