FEATURE: add another repositories

This commit is contained in:
Michal Kváček
2016-10-18 22:35:06 +02:00
parent 662700b4f2
commit 4f6a006ad9
47 changed files with 410 additions and 400 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
</div>
@endif
<form method="POST" enctype="multipart/form-data" action="{{route('content.newPost', ['moduleId' => $moduleId])}}">
<form method="POST" enctype="multipart/form-data" action="{{route('content.newPost', ['moduleId' => $module->id])}}">
{!! csrf_field() !!}
@include('admin.content.formInputs')
@@ -34,7 +34,7 @@
@foreach($pages as $page)
<div class="row p-tb-15">
<div class="col-md-1 hidden-sm-down text-center with-placeholder">
<a href="{{route('content.edit', ['id' => $page->id])}}">
<a href="{{route('content.edit', ['url' => $page->url])}}">
@if(!view()->exists(\App\CMS\Helpers\Template::name($page->template, false)))
<i class="fa fa-2x text-warning fa-warning" data-toggle="tooltip"
title="@lang('admin/contents.invalidTemplateSelected')"></i>
@@ -51,7 +51,7 @@
</a>
</div>
<div class="col-xs-10 col-md-3 col-lg-4">
<a href="{{route('content.edit', ['id' => $page->id])}}">
<a href="{{route('content.edit', ['url' => $page->url])}}">
{{$page->title}}
</a>
@@ -92,7 +92,7 @@
@endif
<li>
<a class="edit" href="{{route('content.edit', ['id' => $page->id])}}"
<a class="edit" href="{{route('content.edit', ['url' => $page->url])}}"
data-toggle="tooltip" title="@lang('admin/contents.editPlain')">
<i class="fa fa-pencil"></i>
</a>