@extends('main') @section('title' , '| Wszystkie tagi') @section('content')

Tagi

@foreach ($tags as $tag) @endforeach
# Nazwa:
{{ $tag->id }} {{ $tag->name }}
{!! Form::open(['route' => 'tags.store' , 'method' => 'POST']) !!}

Nowy tag

{{ Form::label('name' , 'Nazwa:') }} {{ Form::text('name' , null , ['class' => 'form-control']) }} {{ Form::submit('Utwórz nowy tag' , ['class' => 'btn btn-primary btn-block btn-h1-spacing' ]) }} {!! Form::close() !!}
@endsection