Package Data | |
---|---|
Maintainer Username: | rozklad |
Maintainer Contact: | info@sanatorium.ninja (Sanatorium) |
Package Create Date: | 2016-03-26 |
Package Last Update: | 2016-10-02 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-15 15:17:59 |
Package Statistics | |
---|---|
Total Downloads: | 1 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Newsletter extension for Cartalyst Platform
The method on "sanatorium.newsletter.subscribe" route takes following parameters:
Therefore basic subscription form might look like this:
@if ( Cookie::get('has_newsletter') )
<p class="alert alert-success">
{{ trans('sanatorium/newsletter::messages.subscribed') }}
</p>
@else
<form method="POST" action="{{ route('sanatorium.newsletter.subscribe') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="email" name="email" class="form-control" placeholder="{{ trans('sanatorium/newsletter::common.email.placeholder') }}">
<button type="submit" class="btn btn-success">
{{ trans('sanatorium/newsletter::common.actions.subscribe') }}
</button>
</form>
@endif
1.0.5 Added readme and example
Support not available.