{template nheader.html}

<div class="page-bar">
    <ul class="page-breadcrumb mylink">
        {$menu.link}

    </ul>
    <ul class="page-breadcrumb myname">
        {$menu.name}
    </ul>
    <div class="page-toolbar">
        <div class="btn-group pull-right">
            <button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"> {fc_lang('操作菜单')}
                <i class="fa fa-angle-down"></i>
            </button>
            <ul class="dropdown-menu pull-right" role="menu">
                {loop $menu.quick $t}
                <li>
                    <a href="{$t.url}">{$t.icon} {$t.name}</a>
                </li>
                {/loop}
                <li class="divider"> </li>
                <li>
                    <a href="javascript:window.location.reload();">
                        <i class="icon-refresh"></i> {fc_lang('刷新页面')}</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<h3 class="page-title">
    <small>{fc_lang('开发者可以在这里快速定义控制器，再按自己的需求完善控制器内容')}</small>
</h3>


<form class="form-horizontal" action="" method="post" id="myform" name="myform">
    <div class="portlet light bordered myfbody">

        <div class="portlet-title">
            <div class="caption">
                <span class="caption-subject font-green sbold uppercase">{fc_lang('自定义控制器')}</span>
            </div>
        </div>
        <div class="portlet-body">
            <div class="portlet-body form">
                <div class="form-body">

                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('名称')}：</label>
                        <div class="col-md-9">
                            <label><input type="text" class="form-control" name="data[name]" value="{$data['name']}"></label>
                            <span class="help-block">{fc_lang('给它一个描述名称')}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('文件')}：</label>
                        <div class="col-md-9">
                            <div class="form-control-static"><label>{$data.file}</label></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">URL：</label>
                        <div class="col-md-9">
                            <div class="form-control-static"><label>{$data['url']}</label></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('SEO标题')}：</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control"  name="data[meta_title]" value="{$data['meta_title']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('SEO关键字')}：</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control"  name="data[meta_keywords]" value="{$data['meta_keywords']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('SEO描述信息')}：</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control"  name="data[meta_description]" value="{$data['meta_description']}">
                        </div>
                    </div>


                </div>
            </div>

        </div>
    </div>

    <div class="myfooter">
        <div class="row">
            <div class="portlet-body form">
                <div class="form-body">
                    <div class="form-actions">
                        <div class="row">
                            <div class="col-md-12 text-center">
                                <button type="submit" class="btn green"> <i class="fa fa-save"></i> {fc_lang('保存')}</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>
{template nfooter.html}