  <div id="content">
  
  
  <%= start_form_tag :action => 'update'%>
  
  <div class="red">Actions</div>
    <div class="articles">
    <%= submit_tag "Edit Settings" %>
  </div>
  
  <div class="blue">Your Site</div>
  <div class="articles">
  <label for="site_name">Site Name:</label><br/>
  <input name="setting[site_title]" id="site_name" type="text" value="<%=h config_value('site_title') %>" />
  </div>
  
  <div class="articles">
  <label for="site_description">Site Subtitle:</label><br/>
  <input name="setting[site_subtitle]" id="site_subtitle" type="text" value="<%=h config_value('site_subtitle') %>" />
  </div>
  
  <div class="articles">
  <label for="site_default_text_filter">Site Default Text Filter:</label><br/>
  <select name="setting[site_default_text_filter]" id="site_default_text_filter">
  <%= options_for_select text_filter_options, config_value('site_default_text_filter') %>
  </select>
  </div>
  
  <div class="articles">
    <label for="site_default_page">Site Default Page:</label><br/>
    <select name="setting[site_default_page]" id="site_default_page">
    <%= options_for_select(Page.find_all.collect {|p| [ p.name, p.id ] }, config_value('site_default_page').to_i) %>
    </select>
  </div>
  
  <div class="articles">
  <label for="site_lat_long">Site Lat and Long:</label><br/>
  <input name="setting[site_lat_long]" id="site_lat_long" type="text" value="<%=h config_value('site_lat_long') %>" />
  </div>
  
  <div class="articles">
  <label for="large_width">Eribium Large Width</label><br />
  <input type="checkbox" id="large_width" name="setting[large_width]" value="1" <% if config_value('large_width') == '1' %>checked="checked"<% end %> />
  <input name="setting[large_width]" type="hidden" value="0" />
  </div>
  
  <div class="blue">Feeds</div>
  <div class="articles">
  <label for="feed_title">Feed Title:</label><br/>
  <input name="setting[feed_title]" id="feed_title" type="text" value="<%=h config_value('feed_title') %>" />
  </div>
  
  <div class="articles">
  <label for="feed_link">Feed Link:</label><br/>
  <input name="setting[feed_link]" id="feed_link" type="text" value="<%=h config_value('feed_link') %>" />
  </div>
  
  <div class="articles">
  <label for="feed_author">Feed Author:</label><br/>
  <input name="setting[feed_author]" id="feed_author" type="text" value="<%=h config_value('feed_author') %>" />
  </div>
  
  <div class="articles">
  <label for="feed_description">Feed Description:</label><br/>
  <input name="setting[feed_description]" id="feed_description" type="text" value="<%=h config_value('feed_description') %>" />
  </div>
  
  <div class="red">Actions</div>
  <div class="articles">
  <%= submit_tag "Edit Settings" %>
  </div>
  
  
  <%= end_form_tag %>
  
  </div>