Add descriptions to trending features in admin UI (#17677)

This commit is contained in:
Eugen Rochko 2022-03-02 18:57:44 +01:00 committed by GitHub
parent e24b14cc74
commit 9b58fb1ea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 1 deletions

View file

@ -4,6 +4,10 @@
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
%p= t('admin.trends.statuses.description_html')
%hr.spacer/
= form_tag admin_trends_statuses_path, method: 'GET', class: 'simple_form' do
- Trends::StatusFilter::KEYS.each do |key|
= hidden_field_tag key, params[key] if params[key].present?