Skip to content

Instantly share code, notes, and snippets.

@ytake ytake/sample.tpl
Created Apr 27, 2014

Embed
What would you like to do?
laravel-smarty sample (extends)
{extends file='layouts/default.tpl'}
{block name=title}sample{/block}
{block name=contents}
<h1 class="form-signin-heading">register</h1>
{{Form::open(['action' => 'RegisterController@confirm', "class" => "form-signin"])}}
{{Form::text('email', null, ["class" => "form-control", "placeholder"=>"email", "autofocus" => true])}}
{{Form::password('password', ["class" => "form-control", "placeholder"=>"password"])}}
{{Form::close()}}
{/block}
@ytake

This comment has been minimized.

Copy link
Owner Author

ytake commented May 15, 2014

required short array syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.