tethys/resources/views/settings/license/_form.blade.php

72 lines
3.1 KiB
PHP
Raw Normal View History

2018-08-06 12:30:51 +00:00
<fieldset>
2018-08-29 15:18:15 +00:00
<legend>General</legend>
2018-08-06 12:30:51 +00:00
<div class="pure-g">
<div class="pure-u-1 pure-u-md-1-2 pure-div">
{!! Form::label('name_long', 'Lizenzname') !!}
{!! Form::text('name_long', null, ['class' => 'pure-u-23-24', 'placeholder'
2018-09-14 16:16:02 +00:00
=> '--no language--']) !!}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
{!! Form::label('language', 'Sprache') !!}
<div class="select pure-u-23-24">
2018-09-14 16:16:02 +00:00
{!! Form::select('language', $languages, null, ['id' => 'language', 'placeholder' => '--no language--']) !!}
2018-08-06 12:30:51 +00:00
</div>
<small id="languageHelp" class="pure-form-message-inline">language is optional</small>
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2018-09-14 16:16:02 +00:00
{!! Form::label('link_licence', 'URI zur Lizenz') !!} {!! Form::text('link_licence', null, ['class' => 'pure-u-23-24']) !!}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2018-09-14 16:16:02 +00:00
{!! Form::label('link_logo', 'URI zum Logo') !!} {!! Form::text('link_logo', null, ['class' => 'pure-u-23-24']) !!}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2018-09-14 16:16:02 +00:00
{!! Form::label('desc_text', 'Beschreibungstext') !!} {!! Form::textarea('desc_text', null, ['class' => 'pure-u-23-24', 'size'
=> '70x6']) !!}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2019-04-16 12:35:16 +00:00
{!! Form::label('desc_markup', 'Beschreibung als Markup') !!}
{!! Form::textarea('desc_markup', null, ['class' => 'pure-u-23-24 ckeditor',
2018-09-14 16:16:02 +00:00
'size' => '70x6']) !!}
2019-04-16 12:35:16 +00:00
{{-- <ckeditor :editor="editor" v-bind:desc_markup='{{ $license->desc_markup }}' :config="editorConfig"></ckeditor> --}}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2018-09-14 16:16:02 +00:00
{!! Form::label('comment_internal', 'Interne Bermerkung') !!} {!! Form::textarea('comment_internal', null, ['class' => 'pure-u-23-24',
'size' => '70x6']) !!}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2018-09-14 16:16:02 +00:00
{!! Form::label('mime_type', 'Internet Media Typ') !!} {!! Form::text('mime_type', null, ['class' => 'pure-u-23-24']) !!}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
2018-09-14 16:16:02 +00:00
{!! Form::label('sort_order', 'Sortierreihenfolge') !!} {!! Form::text('sort_order', null, ['class' => 'pure-u-23-24']) !!}
2018-08-06 12:30:51 +00:00
</div>
</div>
<!-- checkboxes -->
<label for="active" class="pure-checkbox">
<input type="hidden" name="active" value="0">
<input name="active" value="1" {{ ($license->active == 1) ? 'checked="checked" ' : '' }} type="checkbox" class="form-check-input">
Active?
</label>
<label for="pod_allowed" class="pure-checkbox">
<input type="hidden" name="pod_allowed" value="0">
<input name="pod_allowed" value="1" {{ ($license->pod_allowed == 1) ? 'checked="checked" ' : '' }} type="checkbox" class="form-check-input">
Print on Demand
</label>
</fieldset>
2018-08-29 15:18:15 +00:00
<br />
<div class="pure-controls">
{!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
</div>
2018-09-14 16:16:02 +00:00
@include('errors._errors')