|
- <% provide(:title, 'Admin') %>
-
- <h1>Admin Settings</h1>
-
- <section id="general">
- <h2>General</h2>
- <%= form_tag do %>
- <table>
- <% Calefaction::Settings::SETTINGS.each do |s| %>
- <tr>
- <td><%= label_tag("settings[#{s[:key]}]", s[:label]) %></td>
- <td><%= setting_tag s %></td>
- </tr>
- <% end %>
- <tr>
- <td colspan="2"><%= submit_tag('Update') %></td>
- </tr>
- </table>
- <% end %>
- </section>
-
- <section id="tools">
- <h2>Tools</h2>
- </section>
-
- <section id="users">
- <h2>Users</h2>
- </section>
|