Move profile into separate file

This commit is contained in:
Nabeel Shahzad
2018-05-21 09:57:49 -05:00
parent ba1bf4581d
commit 1258b87671
5 changed files with 49 additions and 11 deletions
@@ -1,10 +1,10 @@
@extends('app')
@section('title', trans('frontend.profile.editprofile'))
@section('title', __('profile.editprofile'))
@section('content')
<div class="row">
<div class="col-md-12">
<h2 class="description">@lang('frontend.profile.edityourprofile')</h2>
<h2 class="description">@lang('profile.edityourprofile')</h2>
@include('flash::message')
{{ Form::model($user, ['route' => ['frontend.profile.update', $user->id], 'files' => true, 'method' => 'patch']) }}
@include("profile.fields")