40 lines
2.3 KiB
PHP
40 lines
2.3 KiB
PHP
@extends('layouts.app')
|
|
@section('title', __('industrialengineering::lang.create_product'))
|
|
@section('content')
|
|
@include('industrialengineering::layouts.nav')
|
|
<section class="content-header">
|
|
<h1>@lang('industrialengineering::lang.create_product')</h1>
|
|
</section>
|
|
<section class="content">
|
|
<div class="box box-primary">
|
|
{!! Form::open(['url' => action([\Modules\IndustrialEngineering\Http\Controllers\ProductHubController::class, 'store']), 'method' => 'post']) !!}
|
|
<div class="box-body">
|
|
<div class="row">
|
|
<div class="col-md-4 form-group">
|
|
{!! Form::label('platform_code', __('industrialengineering::lang.manual_code_optional')) !!}
|
|
{!! Form::text('platform_code', null, ['class' => 'form-control', 'placeholder' => $suggestedCode]) !!}
|
|
<p class="help-block">@lang('industrialengineering::lang.code_help', ['code' => $suggestedCode])</p>
|
|
</div>
|
|
<div class="col-md-4 form-group">
|
|
{!! Form::label('name', __('industrialengineering::lang.product_name')) !!}
|
|
{!! Form::text('name', null, ['class' => 'form-control', 'required']) !!}
|
|
</div>
|
|
<div class="col-md-4 form-group">
|
|
{!! Form::label('industry_segment', __('industrialengineering::lang.industry_segment')) !!}
|
|
{!! Form::text('industry_segment', null, ['class' => 'form-control', 'placeholder' => __('industrialengineering::lang.segment_placeholder')]) !!}
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
{!! Form::label('description', __('industrialengineering::lang.description')) !!}
|
|
{!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => 3]) !!}
|
|
</div>
|
|
</div>
|
|
<div class="box-footer">
|
|
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> @lang('industrialengineering::lang.save_and_continue')</button>
|
|
<a href="{{ action([\Modules\IndustrialEngineering\Http\Controllers\ProductHubController::class, 'index']) }}" class="btn btn-default">@lang('messages.cancel')</a>
|
|
</div>
|
|
{!! Form::close() !!}
|
|
</div>
|
|
</section>
|
|
@endsection
|