fixed guide_article

This commit is contained in:
Anders
2020-08-04 13:37:06 +02:00
parent 9ed3faedfe
commit c8b85a6c9b
5 changed files with 6 additions and 6 deletions
@@ -21,7 +21,7 @@
@csrf
<label for="title">Titel guiden</label>
<input type="text" name="name" id="title" required>
<textarea name="guideArticles" id="editor"></textarea>
<textarea name="guide_articles" id="editor"></textarea>
<input type="submit" class="btn btn-dark text-white" value="Opret">
</form>
@@ -23,7 +23,7 @@
<label for="title">Navn</label>
<input value="{{$guide->name}}" type="text" name="name" id="title" required>
<label for="editor">Vejledning</label>
<textarea name="guideArticles" id="editor">{{$guide->guideArticles}}</textarea>
<textarea name="guide_articles" id="editor">{{$guide->guideArticles}}</textarea>
<input type="submit" class="btn btn-dark text-white" value="Rediger">
</form>
@@ -14,7 +14,7 @@
<h1 class="text-center sde-blue mt-0">Vejledninger</h1>
@foreach($guides as $guide)
<h2 class="text-center sde-blue mt-0">{{ $guide->name }}</h2>
{!! $guide->guideArticles !!}
{!! $guide->guide_articles !!}
<hr class="w-100">
@endforeach
</main>