Commit 93ed047c by Aan Choesni Herlingga

translate bahasa china simplivy

parent 86ff6e10
...@@ -269,7 +269,7 @@ class MenuController extends Controller ...@@ -269,7 +269,7 @@ class MenuController extends Controller
$dataZh['menu_id'] = $menu->id; $dataZh['menu_id'] = $menu->id;
$dataZh['name'] = $name; $dataZh['name'] = $name;
$this->repoSa->store($dataZh); $this->repoZh->store($dataZh);
} }
public function storepage(Request $request) public function storepage(Request $request)
......
...@@ -58,6 +58,15 @@ ...@@ -58,6 +58,15 @@
@endif @endif
</div> </div>
</div> </div>
<div class="form-group @if ($errors->has('titleizh')) has-error @endif">
<label class="col-md-2 control-label">China Title</label>
<div class="col-md-10">
{{ Form::text('titleizh', $data->rZh ? $data->rZh->name : null, array('class' => 'form-control', 'required')) }}
@if ($errors->has('titleizh'))
<label id="login-error" class="error" for="login">{{$errors->first('titleisa')}}</label>
@endif
</div>
</div>
<div class="form-group @if ($errors->has('url')) has-error @endif"> <div class="form-group @if ($errors->has('url')) has-error @endif">
<label class="col-md-2 control-label">URL</label> <label class="col-md-2 control-label">URL</label>
<div class="col-md-10"> <div class="col-md-10">
......
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