1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/resources/views/portal/default/profile/index.blade.php

68 lines
2.5 KiB
PHP
Raw Normal View History

@extends('portal.default.layouts.master')
@push('css')
2019-08-14 02:15:21 +02:00
<link href="/vendors/css/select2.min.css" rel="stylesheet">
<link href="/vendors/css/select2-bootstrap4.css" rel="stylesheet">
<style>
select {border: 1px solid !important;}
.select2-container--bootstrap4 .select2-selection--single {border: 1px solid #e4e7ea !important;}
.control-label {text-align:right;}
</style>
@endpush
@section('body')
2019-08-13 01:56:46 +02:00
<main class="main">
<div class="container-fluid">
2019-08-14 00:41:19 +02:00
<div class="row" style="padding-top: 30px;">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
2019-08-26 11:28:21 +02:00
<strong> {{ ctrans('texts.details') }}</strong>
2019-08-13 01:56:46 +02:00
</div>
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::framework('TwitterBootstrap4'); !!}
2019-08-14 01:05:49 +02:00
{!! Former::horizontal_open_for_files()
2019-08-14 00:41:19 +02:00
->id('update_contact')
->route('client.profile.update', auth()->user()->hashed_id)
->method('PUT'); !!}
@csrf
<div class="card-body">
<div class="row">
2019-08-14 01:05:49 +02:00
<div class="col-sm-8">
2019-08-14 00:41:19 +02:00
<div class="card">
<div class="card-body">
2019-08-14 01:05:49 +02:00
{!! Former::text('first_name')->label( ctrans('texts.first_name'))->value(auth()->user()->first_name) !!}
2019-08-12 00:33:17 +02:00
2019-08-14 01:05:49 +02:00
{!! Former::text('last_name')->placeholder('')->label( ctrans('texts.last_name'))->value(auth()->user()->last_name) !!}
2019-08-12 00:33:17 +02:00
2019-08-14 01:05:49 +02:00
{!! Former::text('email')->placeholder('')->label(ctrans('texts.email'))->value(auth()->user()->email) !!}
2019-08-12 14:45:13 +02:00
2019-08-14 01:05:49 +02:00
{!! Former::text('phone')->placeholder('')->label(ctrans('texts.phone'))->value(auth()->user()->phone) !!}
2019-08-12 00:33:17 +02:00
2019-08-14 01:05:49 +02:00
{!! Former::password('password')->placeholder('')->label(ctrans('texts.password')) !!}
2019-08-12 00:33:17 +02:00
2019-08-14 01:05:49 +02:00
{!! Former::password('password_confirmation')->placeholder('')->label(ctrans('texts.confirm_password')) !!}
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
<div>
<button class="btn btn-primary pull-right">{{ ctrans('texts.save') }}</button>
</div>
</div>
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
</div>
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::close() !!}
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
@include('portal.default.profile.client_information')
</div>
2019-08-13 01:56:46 +02:00
</main>
2019-08-12 14:45:13 +02:00
</body>
2019-08-14 02:15:21 +02:00
@endsection
@section('footer')
2019-08-07 02:44:38 +02:00
@endsection