shareit/resources/views/item.blade.php

37 lines
1.1 KiB
PHP
Raw Normal View History

2018-09-11 23:48:09 +00:00
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card mt-4">
<div class="card-header">
2018-09-16 19:18:49 +00:00
<strong>{{$item->name}}</strong>
<span class="d-inline-block text-truncat float-right">
<div class="btn-group" role="group">
@include ('item.editButton')
@include ('item.deleteButton')
</div>
</span>
2018-09-11 23:48:09 +00:00
</div>
<div class="card-body">
@if (session('status'))
<div class="alert alert-success" role="alert"> {{ session('status') }}
</div>
@endif
2018-09-16 19:18:49 +00:00
@include('item.users')
2018-09-11 23:48:09 +00:00
</div>
</div>
2018-09-16 19:18:49 +00:00
@include ('item.otherItems')
2018-09-16 19:18:49 +00:00
<div class="float-right mt-2"><a class="btn btn-secondary" href="/product/{{ $item->product->id }}">{{ __('item.back') }}</a></div>
2018-09-11 23:48:09 +00:00
</div>
</div>
</div>
@endsection