Sha256: da4d4db6f20a598c990b71d9f3d55ce132a5d5fb79da995cc351fe324ac27f83

Contents?: true

Size: 765 Bytes

Versions: 4

Compression:

Stored size: 765 Bytes

Contents

<% content_for :main do %>
  
  <h1 class="snippets_icon">New Snippet</h1>
  <div class="cms_form">
  <%= form_for @snippet, :url=>"/admin/snippet", :method=>:post do |f| %>
  <b>Name:</b><br/>
  <%= f.text_field :name, {:style=>"width: 700px;"} %><br/><br/>
  <b>Description:</b><br/>
    <%= f.text_area :description, {:style=>"margin-top: 2px; height: 80px; width: 700px;"} %> <br/>
  <div class="advanced">
  <b>Show Editors:</b><br/>
  <%= f.check_box :show_editors %><br/>
  <div class="field_help">
    Should this snippet appear in the editor's insert list?
  </div>
  </div>

  <b>Content:</b><br/>
    <%= ace_editor('html', :snippet, :body, f) %>

    <%= kit_submit "Save" %> or <%= icon_to "Cancel", "/admin/snippet" %>
  <% end %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kit_cms-2.3.9 app/views/admin/snippet/new.html.erb
kit_cms-2.3.8 app/views/admin/snippet/new.html.erb
kit_cms-2.3.7 app/views/admin/snippet/new.html.erb
kit_cms-2.3.6 app/views/admin/snippet/new.html.erb