Created
April 27, 2014 13:29
-
-
Save ytake/11345614 to your computer and use it in GitHub Desktop.
laravel-smarty sample (extends)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{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} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
required short array syntax