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.links.description_html')
%hr.spacer/
= form_tag admin_trends_links_path, method: 'GET', class: 'simple_form' do
- Trends::PreviewCardFilter::KEYS.each do |key|
= hidden_field_tag key, params[key] if params[key].present?

View file

@ -4,6 +4,10 @@
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
%p= t('admin.trends.preview_card_providers.description_html')
%hr.spacer/
.filters
.filter-subset
%strong= t('admin.tags.review')
@ -17,7 +21,6 @@
= fa_icon 'chevron-left fw'
= t('admin.trends.links.title')
%hr.spacer/
= form_for(@form, url: batch_admin_trends_links_preview_card_providers_path) do |f|