@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.labels_title') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

{{ trans('admin/settings/general.labels') }}

{{ Form::label('labels_per_page', trans('admin/settings/general.labels_per_page')) }}
{{ Form::text('labels_per_page', old('labels_per_page', $setting->labels_per_page), ['class' => 'form-control','style' => 'width: 100px;', 'aria-label'=>'labels_per_page']) }} {!! $errors->first('labels_per_page', '') !!}
{{ Form::label('labels_fontsize', trans('admin/settings/general.labels_fontsize')) }}
{{ Form::text('labels_fontsize', old('labels_fontsize', $setting->labels_fontsize), ['class' => 'form-control', 'aria-label'=>'labels_fontsize']) }}
{{ trans('admin/settings/general.text_pt') }}
{!! $errors->first('labels_fontsize', '') !!}
{{ Form::label('labels_width', trans('admin/settings/general.label_dimensions')) }}
{{ Form::text('labels_width', old('labels_width', $setting->labels_width), ['class' => 'form-control', 'aria-label'=>'labels_width']) }}
{{ trans('admin/settings/general.width_w') }}
{{ Form::text('labels_height', old('labels_height', $setting->labels_height), ['class' => 'form-control', 'aria-label'=>'labels_height']) }}
{{ trans('admin/settings/general.height_h') }}
{!! $errors->first('labels_width', '') !!} {!! $errors->first('labels_height', '') !!}
{{ Form::label('labels_display_sgutter', trans('admin/settings/general.label_gutters')) }}
{{ Form::text('labels_display_sgutter', old('labels_display_sgutter', $setting->labels_display_sgutter), ['class' => 'form-control', 'aria-label'=>'labels_display_sgutter']) }}
{{ trans('admin/settings/general.horizontal') }}
{{ Form::text('labels_display_bgutter', old('labels_display_bgutter', $setting->labels_display_bgutter), ['class' => 'form-control', 'aria-label'=>'labels_display_bgutter']) }}
{{ trans('admin/settings/general.vertical') }}
{!! $errors->first('labels_display_sgutter', '') !!} {!! $errors->first('labels_display_bgutter', '') !!}
{{ Form::label('labels_pmargin_top', trans('admin/settings/general.page_padding')) }}
{{ Form::text('labels_pmargin_top', old('labels_pmargin_top', $setting->labels_pmargin_top), ['class' => 'form-control', 'aria-label'=>'labels_pmargin_top']) }}
{{ trans('admin/settings/general.top') }}
{{ Form::text('labels_pmargin_right', old('labels_pmargin_right', $setting->labels_pmargin_right), ['class' => 'form-control', 'aria-label'=>'labels_pmargin_right']) }}
{{ trans('admin/settings/general.right') }}
{{ Form::text('labels_pmargin_bottom', old('labels_pmargin_bottom', $setting->labels_pmargin_bottom), ['class' => 'form-control', 'aria-label'=>'labels_pmargin_bottom']) }}
{{ trans('admin/settings/general.bottom') }}
{{ Form::text('labels_pmargin_left', old('labels_pmargin_left', $setting->labels_pmargin_left), ['class' => 'form-control', 'aria-label'=>'labels_pmargin_left']) }}
{{ trans('admin/settings/general.left') }}
{!! $errors->first('labels_width', '') !!} {!! $errors->first('labels_height', '') !!}
{{ Form::label('labels_pagewidth', trans('admin/settings/general.page_dimensions')) }}
{{ Form::text('labels_pagewidth', old('labels_pagewidth', $setting->labels_pagewidth), ['class' => 'form-control', 'aria-label'=>'labels_pagewidth']) }}
{{ trans('admin/settings/general.width_w') }}
{{ Form::text('labels_pageheight', old('labels_pageheight', $setting->labels_pageheight), ['class' => 'form-control', 'aria-label'=>'labels_pageheight']) }}
{{ trans('admin/settings/general.height_h') }}
{!! $errors->first('labels_pagewidth', '') !!} {!! $errors->first('labels_pageheight', '') !!}
{{ Form::label('labels_display', trans('admin/settings/general.label_fields')) }}
{{Form::close()}} @stop