work on tag controller
This commit is contained in:
12
app/views/tags/edit.html.erb
Normal file
12
app/views/tags/edit.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id="c-tags">
|
||||
<div id="a-edit">
|
||||
<h1>Tag: <%= @tag.name %></h1>
|
||||
|
||||
<%= simple_form_for(@tag) do |f| %>
|
||||
<%= f.input :category, :collection => Danbooru.config.canonical_tag_category_mapping.to_a %>
|
||||
<%= f.button :submit %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
7
app/views/tags/show.html.erb
Normal file
7
app/views/tags/show.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<div id="c-tags">
|
||||
<div id="a-show">
|
||||
<h1>Tag: <%= @tag.name %></h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
Reference in New Issue
Block a user