2015-08-30 16:31:16 +02:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
@include('settings/navbar', ['selected' => 'settings'])
|
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
<h1>Settings</h1>
|
|
|
|
|
|
|
|
<form action="/settings" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="setting-app-name">Application Name</label>
|
|
|
|
<input type="text" value="{{ Setting::get('app-name') }}" name="setting-app-name" id="setting-app-name">
|
|
|
|
</div>
|
2015-08-31 13:29:48 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="setting-app-public">Allow public viewing?</label>
|
|
|
|
<label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'true') checked @endif value="true"> Yes</label>
|
|
|
|
<label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'false') checked @endif value="false"> No</label>
|
|
|
|
</div>
|
2015-08-30 16:31:16 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="button pos">Update Settings</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|