[phase-7]add rendering sidebar to other views
This commit is contained in:
parent
b1b7d66976
commit
bcc8039d54
@ -4,6 +4,8 @@
|
|||||||
<%= link_to l(:label_glossary_category_new), new_project_glossary_category_path, class: 'icon icon-add' %>
|
<%= link_to l(:label_glossary_category_new), new_project_glossary_category_path, class: 'icon icon-add' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%= render partial: 'glossary_terms/sidebar' %>
|
||||||
|
|
||||||
<table class="list">
|
<table class="list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
|
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%= render partial: 'glossary_terms/sidebar' %>
|
||||||
|
|
||||||
<h2><%=l :label_glossary_category %> #<%=@category.id %></h2>
|
<h2><%=l :label_glossary_category %> #<%=@category.id %></h2>
|
||||||
|
|
||||||
<h3><%= @category.name %></h3>
|
<h3><%= @category.name %></h3>
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
|
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%= render partial: 'sidebar' %>
|
||||||
|
|
||||||
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
|
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
|
||||||
|
|
||||||
<h3><%= @term.name %></h3>
|
<h3><%= @term.name %></h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user