@@ -1,11 +0,0 @@
|
||||
<%= simple_form_for(@tag_subscription) do |f| %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :tag_query, :hint => "Put separate tag combinations on separate lines.", :input_html => {:size => "40x5"} %>
|
||||
<div class="input">
|
||||
<label for="tag_subscription_is_public">
|
||||
<%= check_box "tag_subscription", "is_public" %>
|
||||
Is Public
|
||||
</label>
|
||||
</div>
|
||||
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
||||
<% end %>
|
||||
@@ -6,7 +6,6 @@
|
||||
<% if @tag_subscription && !@tag_subscription.new_record? && @tag_subscription.editable_by?(CurrentUser.user) %>
|
||||
<li>|</li>
|
||||
<li><%= link_to "Show", tag_subscription_path(@tag_subscription) %></li>
|
||||
<li><%= link_to "Edit", edit_tag_subscription_path(@tag_subscription) %></li>
|
||||
<li><%= link_to "Delete", tag_subscription_path(@tag_subscription, :method => :delete, :data => {:confirm => "Are you sure you want to delete this tag subscription?"}) %></li>
|
||||
<% end %>
|
||||
</menu>
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<div id="c-tag-subscriptions">
|
||||
<div id="a-edit">
|
||||
<h1>Edit Tag Subscription</h1>
|
||||
|
||||
<%= error_messages_for "tag_subscription" %>
|
||||
|
||||
<%= render "form" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Edit Tag Subscription - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
@@ -9,7 +9,6 @@
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Tag Query</th>
|
||||
<th>Count</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -18,7 +17,6 @@
|
||||
<tr>
|
||||
<td><%= tag_subscription.pretty_name %></td>
|
||||
<td><%= tag_subscription.pretty_tag_query %></td>
|
||||
<td><%= tag_subscription.post_id_array.size %></td>
|
||||
<td>
|
||||
<%= link_to "delete", tag_subscription_path(tag_subscription), :method => :delete, :data => {:confirm => "Are you sure you want to delete this subscription?"} %>
|
||||
| <%= link_to "migrate", migrate_tag_subscription_path(tag_subscription), :method => :post %>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<div id="c-tag-subscriptions">
|
||||
<div id="a-new">
|
||||
<h1>New Tag Subscription</h1>
|
||||
|
||||
<p class="info">This feature is disabled.</p>
|
||||
|
||||
<%#= error_messages_for "tag_subscription" %>
|
||||
|
||||
<%#= render "form" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
New Tag Subscription - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user