[phase-7]add rendering sidebar to other views

This commit is contained in:
Toru Takahashi 2018-05-20 21:01:00 +09:00 committed by TAKAHASHI,Toru
parent b1b7d66976
commit bcc8039d54
3 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,8 @@
<%= link_to l(:label_glossary_category_new), new_project_glossary_category_path, class: 'icon icon-add' %>
</div>
<%= render partial: 'glossary_terms/sidebar' %>
<table class="list">
<thead>
<tr>

View File

@ -4,6 +4,8 @@
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
</div>
<%= render partial: 'glossary_terms/sidebar' %>
<h2><%=l :label_glossary_category %> #<%=@category.id %></h2>
<h3><%= @category.name %></h3>

View File

@ -4,6 +4,8 @@
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
</div>
<%= render partial: 'sidebar' %>
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
<h3><%= @term.name %></h3>