Sha256: 557bef92c7877df44069b63b793853a9000c885605c4897a43c998b03735e258

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 Bytes

Contents

<h1>Snippets</h1>

<%= form_tag admin_snippets_path, :method => :put, :class => "formtastic" do |f| %>
  <fieldset>
    <ol>
    <% RedisSnippetsEngine.config.redis_snippets[:keys].each do |key| %>
      <li>
        <%= label_tag key.to_s, key.to_s %>
        <%= text_area_tag "snippets[#{key}]", RedisSnippets::Snippets.send(key), :cols => 120, :rows => 10 %>
      </li>
    <% end -%>
    </ol>
  </fieldset>
  <%= submit_tag 'Submit' %>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redis_snippets-0.0.4 app/views/admin/snippets/show.html.erb
redis_snippets-0.0.3 app/views/admin/snippets/show.html.erb
redis_snippets-0.0.2 app/views/admin/snippets/show.html.erb
redis_snippets-0.0.1 app/views/admin/ads/show.html.erb