49 lines
No EOL
2.1 KiB
PHP
49 lines
No EOL
2.1 KiB
PHP
|
|
|
|
@extends('translation::layout')
|
|
|
|
@section('body')
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
|
|
<!-- Description -->
|
|
<div class="card mb-4">
|
|
<h5 class="card-header">
|
|
{{ __('translation::translation.add_translation') }}
|
|
</h5>
|
|
<div class="card-body">
|
|
|
|
{!! Form::open(['action' => route('languages.translations.store', $language), 'class' => 'form-horizontal', 'id'=>'']) !!}
|
|
<div class="form-group">
|
|
<label class="form-label" for="group">{{ __('translation::translation.group_label') }}</label>
|
|
{{ Form::text('group', '', array('placeholder'=> __('translation::translation.group_placeholder'),'class'=>'form-control', 'id'=>'group')) }}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label" for="key">{{ __('translation::translation.key_label') }}</label>
|
|
{{ Form::text('key', '', array('placeholder'=> __('translation::translation.key_placeholder'),'class'=>'form-control', 'id'=>'key')) }}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label" for="value">{{ __('translation::translation.value_label') }}</label>
|
|
{{ Form::text('value', '', array('placeholder'=> __('translation::translation.value_placeholder'), 'class'=>'form-control', 'id'=>'value')) }}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label" for="namespace">{{ __('translation::translation.namespace_label') }}</label>
|
|
{{ Form::text('namespace', '', array('placeholder'=> __('translation::translation.namespace_placeholder'), 'class'=>'form-control', 'id'=>'namespace')) }}
|
|
</div>
|
|
|
|
|
|
<div class="text-left mt-0 mb-2">
|
|
<button type="submit" class="btn btn-secondary">{{ __('save') }}</button>
|
|
</div>
|
|
{!! Form::close() !!}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@endsection |