|
|
@ -145,7 +145,7 @@
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<% (setting.navbar || setting.default_navbar).each do |nav| %>
|
|
|
|
<% (setting.navbar || setting.default_navbar).each do |nav| %>
|
|
|
|
<tr>
|
|
|
|
<tr style="<%= nav['name'] == '交流问答' ? 'display:none' : '' %>">
|
|
|
|
<td><%= text_field_tag('navbar[][name]', nav['name'], id: nil, class: 'form-control') %></td>
|
|
|
|
<td><%= text_field_tag('navbar[][name]', nav['name'], id: nil, class: 'form-control') %></td>
|
|
|
|
<td><%= text_field_tag('navbar[][link]', nav['link'], id: nil, class: 'form-control') %></td>
|
|
|
|
<td><%= text_field_tag('navbar[][link]', nav['link'], id: nil, class: 'form-control') %></td>
|
|
|
|
<td class="text-center">
|
|
|
|
<td class="text-center">
|
|
|
|