Remove snippet

This commit is contained in:
chris2tof committed 2011-12-05 10:27:22 +08:00
1 parent f3f405c1b4
commit 962bf03af2
5 files changed
-123

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
<%= f.hidden_field :parent_id %>
<p>
<%= f.label :name, t('admin.name') %>
<%= f.text_field :name, :class => 'text' %>
</p>
<p>
<%= f.label "content", t('admin.content') %>
<%= f.text_area "content", :size => '100x30' %>
</p>
-11
View File
@@ -1,11 +0,0 @@
<h1><%= t('admin.editing_snippet') %></h1>
<%= form_for @snippet, :url => admin_snippet_path(@snippet) do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit 'Update' %> <%= link_back %>
</p>
<% end %>
-11
View File
@@ -1,11 +0,0 @@
<h1><%= t('admin.new_snippet') %></h1>
<% form_for :snippet, :url => admin_snippets_path do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit t('create') %> <%= link_back %>
</p>
<% end %>