]> BookStack Code Mirror - bookstack/blob - resources/views/settings/index.blade.php
36340a0b8e3236ccabbd6b71016162b196f7f43f
[bookstack] / resources / views / settings / index.blade.php
1 @extends('base')
2
3 @section('content')
4
5     @include('settings/navbar', ['selected' => 'settings'])
6
7     <div class="page-content">
8         <h1>Settings</h1>
9
10         <form action="/settings" method="POST">
11             {!! csrf_field() !!}
12             <div class="form-group">
13                 <label for="setting-app-name">Application Name</label>
14                 <input type="text" value="{{ Setting::get('app-name') }}" name="setting-app-name" id="setting-app-name">
15             </div>
16             <div class="form-group">
17                 <label for="setting-app-public">Allow public viewing?</label>
18                 <label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'true') checked @endif value="true"> Yes</label>
19                 <label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'false') checked @endif value="false"> No</label>
20             </div>
21             <div class="form-group">
22                 <button type="submit" class="button pos">Update Settings</button>
23             </div>
24         </form>
25
26     </div>
27
28 @stop