Created
August 27, 2017 02:15
-
-
Save ambrizals/2bd65ba805f131adefd949c8d3b691e0 to your computer and use it in GitHub Desktop.
Edit Akun : Part Form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{!! Form::model($akun,['route' => ['Update Profil'], 'method' => 'PUT', 'files'=> true]) !!} | |
<div class="row"> | |
<div class="col-4"> | |
<img src="{{ url('/'.$fotoprofil) }}" alt="..." class="rounded-circle"> | |
</div> | |
<div class="col-8"> | |
{!! Form::label('fotoprofil', 'Foto Profil') !!} | |
<p>Catatan : Gunakan foto profil dengan ukuran gambar 150 x 150 pixel.</p> | |
{!! Form::file('fotoprofil', ['class' => 'form-control']) !!} | |
</div> | |
</div> | |
<div class="form-group"> | |
{!! Form::label('name', 'Nama') !!} | |
{!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => 'masukan nama']) !!} | |
</div> | |
<div class="form-group"> | |
{!! Form::label('email', 'Email') !!} | |
{!! Form::text('email', null, ['class' => 'form-control', 'placeholder' => 'masukan email']) !!} | |
</div> | |
<div class="form-group"> | |
{!! Form::label('biodata', 'Biodata') !!} | |
{!! Form::textarea('biodata', null, ['class' => 'form-control', 'placeholder' => 'masukan email']) !!} | |
</div> | |
{!! Form::submit('Simpan Perubahan', ['class' => 'btn btn-primary btn-block']) !!} | |
{!! Form::close() !!} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment