8114-fixes
add-changes register-fix Apply fixes from StyleCI register-change
This commit is contained in:
@@ -155,7 +155,11 @@ class UserController extends Controller
|
|||||||
$categorys = $category->get();
|
$categorys = $category->get();
|
||||||
// $categorys->setPath('home');
|
// $categorys->setPath('home');
|
||||||
/* direct to view with $article_id */
|
/* direct to view with $article_id */
|
||||||
return view('themes.default1.client.kb.article-list.home', compact('categorys', 'article_id'));
|
$page = Relationship::where('category_id', '=', $category->id)->get();
|
||||||
|
/* from whole attribute pick the article_id */
|
||||||
|
$articles_id = $page->pluck('article_id');
|
||||||
|
|
||||||
|
return view('themes.default1.client.kb.article-list.home', compact('categorys', 'articles_id'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -290,7 +294,11 @@ class UserController extends Controller
|
|||||||
$categorys = $category->get();
|
$categorys = $category->get();
|
||||||
// $categorys->setPath('home');
|
// $categorys->setPath('home');
|
||||||
/* direct to view with $article_id */
|
/* direct to view with $article_id */
|
||||||
return view('themes.default1.client.kb.article-list.categoryList', compact('categorys', 'article_id'));
|
$page = Relationship::where('category_id', '=', $category->id)->get();
|
||||||
|
/* from whole attribute pick the article_id */
|
||||||
|
$articles_id = $page->pluck('article_id');
|
||||||
|
|
||||||
|
return view('themes.default1.client.kb.article-list.categoryList', compact('categorys', 'articles_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// static function timezone($utc) {
|
// static function timezone($utc) {
|
||||||
|
@@ -94,11 +94,11 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<placeholder="Let’s set up your account in just a couple of steps.">
|
<placeholder ="Let’s set up your account in just a couple of steps.">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- form open -->
|
<!-- form open -->
|
||||||
{!! Form::open(['action'=>'Auth\AuthController@postRegister', 'method'=>'post']) !!}
|
{!! Form::open(['url'=>'auth/register', 'method'=>'post']) !!}
|
||||||
|
|
||||||
<!-- fullname -->
|
<!-- fullname -->
|
||||||
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||||
|
Reference in New Issue
Block a user