fixes #824
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
|
||||
<p>You can try to fix this alias. This will clear the cache and re-save all posts associated with <strong><%= @correction.antecedent_name %></strong>.</p>
|
||||
|
||||
<%= form_tag(tag_alias_correction_path) do %>
|
||||
<%= hidden_field "tag_alias_id", params[:tag_alias_id] %>
|
||||
<%= form_tag(tag_alias_correction_path(:tag_alias_id => @correction.tag_alias_id)) do %>
|
||||
<%= submit_tag "Fix" %>
|
||||
<%= submit_tag "Cancel" %>
|
||||
<% end %>
|
||||
|
||||
30
app/views/tag_alias_requests/new.html.erb
Normal file
30
app/views/tag_alias_requests/new.html.erb
Normal file
@@ -0,0 +1,30 @@
|
||||
<div id="c-tag-aliases">
|
||||
<div id="a-request-new">
|
||||
<h1>Tag Alias Request</h1>
|
||||
|
||||
<p>You can request a new tag alias be created. This will create a corresponding forum topic for community review.</p>
|
||||
|
||||
<%= form_tag(tag_alias_request_path, :class => "simple_form") do %>
|
||||
<div class="input">
|
||||
<label>Antecedent</label>
|
||||
<%= text_field "tag_alias_request", "antecedent_name" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<label>Consequent</label>
|
||||
<%= text_field "tag_alias_request", "consequent_name" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<label>Reason</label>
|
||||
<%= text_area "tag_alias_request", "reason" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<%= submit_tag "Submit" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "tag_aliases/secondary_links" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +1,11 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<li><%= link_to "Listing", tag_aliases_path %></li>
|
||||
<li><%= link_to "New", new_tag_alias_path %></li>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<li><%= link_to "New", new_tag_alias_path %></li>
|
||||
<% else %>
|
||||
<li><%= link_to "Request", new_tag_alias_request_path %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Help", wiki_pages_path(:title => "help:tag_aliases") %></li>
|
||||
</menu>
|
||||
<% end %>
|
||||
|
||||
30
app/views/tag_implication_requests/new.html.erb
Normal file
30
app/views/tag_implication_requests/new.html.erb
Normal file
@@ -0,0 +1,30 @@
|
||||
<div id="c-tag-implications">
|
||||
<div id="a-request-new">
|
||||
<h1>Tag Implication Request</h1>
|
||||
|
||||
<p>You can request a new tag implication be created. This will create a corresponding forum topic for community review.</p>
|
||||
|
||||
<%= form_tag(tag_implication_request_path, :class => "simple_form") do %>
|
||||
<div class="input">
|
||||
<label>Antecedent</label>
|
||||
<%= text_field "tag_implication_request", "antecedent_name" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<label>Consequent</label>
|
||||
<%= text_field "tag_implication_request", "consequent_name" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<label>Reason</label>
|
||||
<%= text_area "tag_implication_request", "reason" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<%= submit_tag "Submit" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "tag_implications/secondary_links" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +1,11 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<li><%= link_to "Listing", tag_implications_path %></li>
|
||||
<li><%= link_to "New", new_tag_implication_path %></li>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<li><%= link_to "New", new_tag_implication_path %></li>
|
||||
<% else %>
|
||||
<li><%= link_to "Request", new_tag_implication_request_path %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Help", wiki_pages_path(:title => "help:tag_implications") %></li>
|
||||
</menu>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user