show.blade.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @extends('layouts.master')
  2. @section('content')
  3. <div class="col-sm-8 blog-main">
  4. <h1>{{ $post->title }}</h1>
  5. <p class="blog-post-meta">
  6. {{ $post->created_at->toFormattedDateString() }}
  7. by <a href="#">{{ $post->user->name }}</a>
  8. </p>
  9. {{ $post->body }}
  10. @if (count($post->comments))
  11. <hr />
  12. <div class="comments">
  13. <ul class="list-group">
  14. @foreach($post->comments as $comment)
  15. <li class="list-group-item">
  16. <strong>{{ $comment->created_at->diffForHumans() }}</strong>
  17. :&nbsp;
  18. {{ $comment->body }}
  19. </li>
  20. @endforeach
  21. </ul>
  22. </div>
  23. @endif
  24. {{-- Add a comment --}}
  25. <div class="card">
  26. <div class="card-block">
  27. <form method="post" action="/posts/{{ $post->id }}/comments">
  28. {{-- Only needed for methods other than GET/POST, since most
  29. browsers only support those two --}}
  30. {{ method_field('POST') }}
  31. {{ csrf_field() }}
  32. @include('layouts.errors')
  33. <div class="form-group">
  34. <textarea required class="form-control" name="body" placeholder="Your comment here">
  35. </textarea>
  36. </div>
  37. <div class="form-group">
  38. <button type="submit" class="btn btn-primary">Add comment</button>
  39. </div>
  40. </form>
  41. </div>
  42. </div>
  43. </div>
  44. @endsection
PANIC: session(release): write data/sessions/8/d/8d3480a0c47283ba: no space left on device

PANIC

session(release): write data/sessions/8/d/8d3480a0c47283ba: no space left on device
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/session@v1.0.3/session.go:204 (0xb13e07)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:80 (0x967b75)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:114 (0x967bf6)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/recovery.go:161 (0x15baec4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/logger.go:40 (0x96b257)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:187 (0x972959)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:304 (0x973a01)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/macaron.go:218 (0x96c572)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:3311 (0x85a5cd)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:2073 (0x837f6f)
/my/cache/.heroku/go/go1.26.3/go/src/runtime/asm_amd64.s:1771 (0x493380)