This repository has been archived on 2021-01-24. You can view files and clone it, but cannot push or open issues or pull requests.
laravel-elearning/resources/views/groups/new.blade.php

21 lines
733 B
PHP

@extends('layouts.base')
@section('content')
<div class="container-fluid">
<div class="col-md-6 col-md-offset-3">
@include('shared.session-flash')
@include('shared.validation-errors')
<h1>Create New Group</h1>
</br>
<form method="POST" action="/{{ Auth::user()->getAdminPath() }}/groups/new">
{{ csrf_field() }}
<div class="form-group">
<label>Name</label>
<input type="text" class="form-control" name="name" required maxlength="255">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
@stop