Remove snippet
This commit is contained in:
1 parent
f3f405c1b4
commit
962bf03af2
5 files changed
-123
No files matched your search
@@ -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>
|
||||
@@ -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 %>
|
||||
@@ -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 %>
|
||||
Reference in new issue
Block a user