Skip to content

Commit

Permalink
Update RequestController#list view
Browse files Browse the repository at this point in the history
Render any category notes and it's rich text body.
  • Loading branch information
gbp committed Apr 15, 2024
1 parent 9263908 commit 9bf08a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/request/_category.html.erb
@@ -0,0 +1,2 @@
<%= render_notes(@category.all_notes) %>
<%= @category.body %>
2 changes: 2 additions & 0 deletions app/views/request/list.html.erb
Expand Up @@ -2,6 +2,8 @@
<h1><%= @title %></h1>
<%= render :partial => 'request/request_search_form',
:locals => { :after_form_fields => render(:partial => 'request/request_filter_form') } %>
<%= render partial: 'category' if @category %>
</div>

<div id="header_right" class="sidebar header_right">
Expand Down

0 comments on commit 9bf08a2

Please sign in to comment.