<commit_before>@extends('backend/layouts/default')

{{-- Page title --}}
@section('title')

    @if ($depreciation->id)
        @lang('admin/depreciations/general.update_depreciation') ::
    @else
        @lang('admin/depreciations/general.update_depreciation') ::
    @endif

@parent
@stop

{{-- Page content --}}
@section('content')

<div class="row header">
    <div class="col-md-12">
        <a href="{{ URL::previous() }}" class="btn-flat gray pull-right"><i class="fa fa-arrow-left icon-white"></i>  @lang('general.back')</a>
        <h3>
        @if ($depreciation->id)
            @lang('admin/depreciations/general.update_depreciation')
        @else
            @lang('admin/depreciations/general.update_depreciation')
        @endif
        </h3>
    </div>
</div>
<div class="row form-wrapper">

<form class="form-horizontal" method="post" action="" autocomplete="off">
    <!-- CSRF Token -->
    <input type="hidden" name="_token" value="{{ csrf_token() }}" />

            <!-- Name -->
            <div class="form-group {{ $errors->has('name') ? ' has-error' : '' }}">
                <label for="name" class="col-md-4 control-label">@lang('admin/depreciations/general.depreciation_name')
                 <i class='fa fa-asterisk'></i></label>
                 </label>
                    <div class="col-md-6">
                        <input class="form-control" type="text" name="name" id="name" value="{{{ Input::old('name', $depreciation->name) }}}" />
                        {{ $errors->first('name', '<br><span class="alert-msg"><i class="fa fa-times"></i> :message</span>') }}
                    </div>
            </div>

            <!-- Name -->
            <div class="form-group {{ $errors->has('months') ? ' has-error' : '' }}">
                <label for="months" class="col-md-4 control-label">@lang('admin/depreciations/general.number_of_months')
                 <i class='fa fa-asterisk'></i></label>
                 </label>
                    <div class="col-md-1">
                        <input class="form-control" type="text" name="months" id="months" value="{{{ Input::old('name', $depreciation->months) }}}" />
                        {{ $errors->first('months', '<br><span class="alert-msg"><i class="fa fa-times"></i> :message</span>') }}
                    </div>
            </div>

            <!-- Form actions -->
            <div class="form-group">
            <label class="col-md-4 control-label"></label>
                <div class="col-md-7">
                    <a class="btn btn-link" href="{{ URL::previous() }}">@lang('button.cancel')</a>
                    <button type="submit" class="btn btn-success"><i class="fa fa-ok icon-white"></i> @lang('general.save')</button>
                </div>
            </div>

        </form>

</div>

@stop<commit_msg>update icon<commit_after>@extends('backend/layouts/default')

{{-- Page title --}}
@section('title')

    @if ($depreciation->id)
        @lang('admin/depreciations/general.update_depreciation') ::
    @else
        @lang('admin/depreciations/general.update_depreciation') ::
    @endif

@parent
@stop

{{-- Page content --}}
@section('content')

<div class="row header">
    <div class="col-md-12">
        <a href="{{ URL::previous() }}" class="btn-flat gray pull-right"><i class="fa fa-arrow-left icon-white"></i>  @lang('general.back')</a>
        <h3>
        @if ($depreciation->id)
            @lang('admin/depreciations/general.update_depreciation')
        @else
            @lang('admin/depreciations/general.update_depreciation')
        @endif
        </h3>
    </div>
</div>
<div class="row form-wrapper">

<form class="form-horizontal" method="post" action="" autocomplete="off">
    <!-- CSRF Token -->
    <input type="hidden" name="_token" value="{{ csrf_token() }}" />

            <!-- Name -->
            <div class="form-group {{ $errors->has('name') ? ' has-error' : '' }}">
                <label for="name" class="col-md-4 control-label">@lang('admin/depreciations/general.depreciation_name')
                 <i class='fa fa-asterisk'></i></label>
                 </label>
                    <div class="col-md-6">
                        <input class="form-control" type="text" name="name" id="name" value="{{{ Input::old('name', $depreciation->name) }}}" />
                        {{ $errors->first('name', '<br><span class="alert-msg"><i class="fa fa-times"></i> :message</span>') }}
                    </div>
            </div>

            <!-- Name -->
            <div class="form-group {{ $errors->has('months') ? ' has-error' : '' }}">
                <label for="months" class="col-md-4 control-label">@lang('admin/depreciations/general.number_of_months')
                 <i class='fa fa-asterisk'></i></label>
                 </label>
                    <div class="col-md-1">
                        <input class="form-control" type="text" name="months" id="months" value="{{{ Input::old('name', $depreciation->months) }}}" />
                        {{ $errors->first('months', '<br><span class="alert-msg"><i class="fa fa-times"></i> :message</span>') }}
                    </div>
            </div>

            <!-- Form actions -->
            <div class="form-group">
            <label class="col-md-4 control-label"></label>
                <div class="col-md-7">
                    <a class="btn btn-link" href="{{ URL::previous() }}">@lang('button.cancel')</a>
                    <button type="submit" class="btn btn-success"><i class="fa fa-check icon-white"></i> @lang('general.save')</button>
                </div>
            </div>

        </form>

</div>

@stop
{'fraction_non_alphanumeric': 0.2090925172474792, 'fraction_numerical': 0.0035379444542720678, 'mean_word_length': 2.0963855421686746, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6430775', 'n_tokens_mistral': 1764, 'n_tokens_neox': 1681, 'n_words': 290}