正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
1 | <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action=""> | 1 | <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action=""> |
2 | 2 | ||
3 | <div class="form-group"> | 3 | <div class="form-group"> |
4 | - <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Is_index')}:</label> | 4 | + <label for="c-is_index" class="control-label col-xs-12 col-sm-2">{:__('Is_index')}:</label> |
5 | <div class="col-xs-12 col-sm-8"> | 5 | <div class="col-xs-12 col-sm-8"> |
6 | 6 | ||
7 | - <select id="c-pid" data-rule="required" class="form-control selectpicker" name="row[pid]"> | 7 | + <select id="c-is_index" data-rule="required" class="form-control selectpicker" name="row[is_index]"> |
8 | {foreach name="isindexList" item="vo"} | 8 | {foreach name="isindexList" item="vo"} |
9 | - <option data-type="{$vo}" value="{$key}" {in name="key" value="$row.pid"}selected{/in}>{$vo}</option> | 9 | + <option data-type="{$vo}" value="{$key}" {in name="key" value="$row.is_index"}selected{/in}>{$vo}</option> |
10 | {/foreach} | 10 | {/foreach} |
11 | </select> | 11 | </select> |
12 | 12 |
-
请 注册 或 登录 后发表评论