Commit 4448a33f by Bagus Pambudi

3 bahasa tidak wajib diisi

parent aa4e3b80
......@@ -16,7 +16,7 @@ class CreateDeTable extends Migration
Schema::create('swp_categories_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('category_id', 36);
$table->string('name');
$table->string('name')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
......@@ -25,7 +25,7 @@ class CreateDeTable extends Migration
Schema::create('swp_posts_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('post_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......@@ -35,7 +35,7 @@ class CreateDeTable extends Migration
Schema::create('swp_informations_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('information_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......@@ -45,7 +45,7 @@ class CreateDeTable extends Migration
Schema::create('swp_menus_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('menu_id', 36);
$table->string('name');
$table->string('name')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
......@@ -54,7 +54,7 @@ class CreateDeTable extends Migration
Schema::create('swp_pages_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('page_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......
......@@ -16,7 +16,7 @@ class CreateSaTable extends Migration
Schema::create('swp_categories_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('category_id', 36);
$table->string('name');
$table->string('name')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
......@@ -25,7 +25,7 @@ class CreateSaTable extends Migration
Schema::create('swp_posts_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('post_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......@@ -35,7 +35,7 @@ class CreateSaTable extends Migration
Schema::create('swp_informations_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('information_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......@@ -45,7 +45,7 @@ class CreateSaTable extends Migration
Schema::create('swp_menus_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('menu_id', 36);
$table->string('name');
$table->string('name')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
......@@ -54,7 +54,7 @@ class CreateSaTable extends Migration
Schema::create('swp_pages_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('page_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......
......@@ -16,7 +16,7 @@ class CreateZhTable extends Migration
Schema::create('swp_categories_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('category_id', 36);
$table->string('name');
$table->string('name')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
......@@ -25,7 +25,7 @@ class CreateZhTable extends Migration
Schema::create('swp_posts_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('post_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......@@ -35,7 +35,7 @@ class CreateZhTable extends Migration
Schema::create('swp_informations_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('information_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......@@ -45,7 +45,7 @@ class CreateZhTable extends Migration
Schema::create('swp_menus_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('menu_id', 36);
$table->string('name');
$table->string('name')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
......@@ -54,7 +54,7 @@ class CreateZhTable extends Migration
Schema::create('swp_pages_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('page_id', 36);
$table->string('title');
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
......
......@@ -91,7 +91,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title_design')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_design_de', $data->rDe ? $data->rDe->title_design : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_design_de', $data->rDe ? $data->rDe->title_design : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title_design'))
<label id="login-error" class="error" for="login">{{$errors->first('title_design')}}</label>
@endif
......@@ -111,7 +111,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title_design')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_design_sa', $data->rSa ? $data->rSa->title_design : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_design_sa', $data->rSa ? $data->rSa->title_design : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title_design'))
<label id="login-error" class="error" for="login">{{$errors->first('title_design')}}</label>
@endif
......@@ -131,7 +131,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title_design')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_design_zh', $data->rZh ? $data->rZh->title_design : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_design_zh', $data->rZh ? $data->rZh->title_design : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title_design'))
<label id="login-error" class="error" for="login">{{$errors->first('title_design')}}</label>
@endif
......
......@@ -84,7 +84,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......@@ -104,7 +104,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......@@ -124,7 +124,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......
......@@ -84,7 +84,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......@@ -104,7 +104,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......@@ -124,7 +124,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......
......@@ -94,7 +94,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......@@ -114,7 +114,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......@@ -134,7 +134,7 @@
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment