Add a reference to the skin name in the templates to make it easier to create and modify skins

This commit is contained in:
Nabeel Shahzad
2018-02-03 18:18:09 -06:00
parent 25b86274cf
commit b4908f482e
27 changed files with 117 additions and 105 deletions

View File

@@ -1,12 +1,13 @@
@extends('layouts.default.app')
@extends("layouts.${SKIN_NAME}.app")
@section('title', 'edit profile')
@section('content')
<div class="row">
<div class="col-md-12">
<h2 class="description">edit your profile</h2>
@include('flash::message')
{!! Form::model($user, ['route' => ['frontend.profile.update', $user->id], 'method' => 'patch']) !!}
@include('layouts.default.profile.fields')
@include("layouts.${SKIN_NAME}.profile.fields")
{!! Form::close() !!}
</div>
</div>