diff options
Diffstat (limited to 'app/views/packages/_masks.html.erb')
-rw-r--r-- | app/views/packages/_masks.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/packages/_masks.html.erb b/app/views/packages/_masks.html.erb new file mode 100644 index 0000000..89bf166 --- /dev/null +++ b/app/views/packages/_masks.html.erb @@ -0,0 +1,10 @@ +<% unless (_masks = filter_masks(versions)).empty? %> +<div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title"><%= t :box_masks %></h3> + </div> + <ul class="list-group"> + <%= render partial: 'mask', collection: _masks.to_a, as: 'mask' %> + </ul> +</div> +<% end %> |