Skip to content

Instantly share code, notes, and snippets.

@nch7
Created February 8, 2015 12:07
Show Gist options
  • Save nch7/40863027d43a7a5f7a08 to your computer and use it in GitHub Desktop.
Save nch7/40863027d43a7a5f7a08 to your computer and use it in GitHub Desktop.
@extends('old.layouts.freelancer')
@section('content')
{{ Form::open(array('route' => ['freelancer.projects.store'], 'method' => 'POST')) }}
<div class="form-group">
{{ Form::label('title', 'Title', ['class'=>'control-label']); }}
{{ Form::input('text', 'title', '', ['class'=>'form-control', 'id'=>'title']) }}
{{ Form::label('body', 'Body', ['class'=>'control-label']); }}
{{ Form::textarea('body', '', ['class'=>'form-control', 'id'=>'body']) }}
{{ Form::label('expires', 'Number of days before expiring', ['class'=>'control-label']); }}
{{ Form::number('expires', '', ['class'=>'form-control', 'id'=>'expires']) }}
</div>
{{ Form::submit('Save', ['class'=>'btn btn-primary pull-right'])}}
{{ Form::close(); }}
@stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment