Commit b30cbe48 authored by Nicolas Widart's avatar Nicolas Widart

Adding module selection and target selection

parent 0bf3880e
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<h3 class="box-title">{{ trans('core::core.title.non translatable fields') }}</h3> <h3 class="box-title">{{ trans('core::core.title.non translatable fields') }}</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
@include('menu::admin.menus.partials.create-fields') @include('menu::admin.menuitems.partials.create-fields')
</div> </div>
</div> </div>
<div class="box-footer"> <div class="box-footer">
......
<div class="form-group">
<label for="module">Module</label>
<select class="form-control" name="module" id="module">
<option value=""></option>
<?php foreach(Module::enabled() as $module): ?>
<option value="{{ strtolower($module) }}">{{ $module }}</option>
<?php endforeach; ?>
</select>
</div>
<div class="form-group">
<label for="target">Target</label>
<select class="form-control" name="target" id="target">
<option value="_self">Same tab</option>
<option value="_blank">New tab</option>
</select>
</div>
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