Created
March 29, 2014 19:54
-
-
Save Rokt33r/9861727 to your computer and use it in GitHub Desktop.
Laravel 基礎 Lesson 5 - Blade & Helper (app/views/posts/create.blade.php)
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('layouts.master') | |
@section('title') | |
Create a new post - mylaravel | |
@stop | |
@section('body') | |
{{Form::open(['url'=>'posts','method'=>'post'])}} | |
{{Form::label('title', 'Title')}}<br> | |
{{Form::text('title')}}<br> | |
{{Form::label('body', 'Body')}}<br> | |
{{Form::textarea('body')}}<br> | |
{{Form::submit('Submit')}} | |
{{Form::close()}} | |
@stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment