|
<% title "Foreman Settings" %>
|
|
|
|
<table class="list">
|
|
<tr>
|
|
<th><%= sort :name %></th>
|
|
<th>Value</th>
|
|
<th>Description</th>
|
|
<th><%= sort :category %></th>
|
|
</tr>
|
|
<% for setting in @settings %>
|
|
<tr class="<%= cycle("even", "odd") -%>">
|
|
<td><%=h setting.name %></td>
|
|
<td><%= edit_textfield(setting, :value,{:helper => :show_value}) %></td>
|
|
<td><%=h setting.description %></td>
|
|
<td><%=h setting.category %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<%= page_entries_info @settings %>
|
|
<%= will_paginate @settings %>
|