@extends('layout.master') @section('parentPageTitle', 'Pengaturan Akun') @section('title', $title_page) @section('content')
@csrf
@if($flag == 0)
@php if (empty($data->profile_picture)) $data->profile_picture = 'user-default.png'; @endphp
@endif
@if ($flag == 1) @if(!in_array($role_id, [3,7]))
@endif @endif @if($flag == 0) @if(sizeof($roles) > 1)
@foreach($roles as $role) @endforeach @php $dflt_role = Session::get('role_default'); @endphp
Role Dafult Role
{{ $role->role_name }}
is_default == 1) ? "checked" : "" }}>
@endif @endif
@stop @section('page-styles') @stop @section('page-script') @stop