Sha256: e39d65312101a1160679926e8a75b7238be310428e974faf70e6f2a3225748ff

Contents?: true

Size: 794 Bytes

Versions: 318

Compression:

Stored size: 794 Bytes

Contents

<h1>Settings</h1>

<form action='/admin/settings' method='get'>
<table cellpadding='4' cellspacing='0' border='0'>
<tr><td>Name: 	</td><td><input type='text' name='name' value='<%= @gen.params['name'] %>' style='width: 200px;' /></td></tr>
</table>
<p><input type='submit' value='Search' /></p>
</form>

<% if (@settings.count > 0) %>

  <table class='data'>
    <tr>
      <%= raw @gen.sortable_table_headings({
  				'name'  => 'Name',
  				'value'	=> 'Value'
  			})
  		%>
    </tr>
  <% @settings.each do |setting| %>
    <tr onclick="window.location='/admin/settings/<%= setting.id %>';">
      <td><%= setting.name  %></td>
      <td><%= setting.value %></td>    
    </tr>
  <% end %>
  </table>
  <p><%= raw @gen.generate %></p>

<% else %>

  <p>There are no settings.</p>

<% end %>

Version data entries

318 entries across 318 versions & 1 rubygems

Version Path
caboose-cms-0.9.229 app/views/caboose/settings/index.html.erb
caboose-cms-1.0.2 app/views/caboose/settings/index.html.erb
caboose-cms-1.0.1 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.228 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.227 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.226 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.225 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.224 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.223 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.222 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.221 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.220 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.219 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.218 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.217 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.216 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.215 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.214 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.213 app/views/caboose/settings/index.html.erb
caboose-cms-0.9.212 app/views/caboose/settings/index.html.erb