diff --git a/app/views/search/_advanced.html.slim b/app/views/search/_advanced.html.slim index 7f30a47..ff604b6 100644 --- a/app/views/search/_advanced.html.slim +++ b/app/views/search/_advanced.html.slim @@ -95,12 +95,13 @@ div.search-adv = label_tag 'star_2', '', class: 'star' = radio_button_tag :stars, 1, true, class: 'star star-1' = label_tag 'star_1', '', class: 'star' + noscript + .cols + p Please enable JavaScript if you wish to have a more friendly tag searching experience. Otherwise, use the dropdown as a reference and separate exact tag names by commas in the field. Add a - to negate. .cols .opts b Characters br - noscript - p Please enable JavaScript if you wish to have a more friendly tag searching experience. Otherwise, ignore the dropdown and separate exact tag names by commas in the field. .js-tag-editor .selected-tags = text_field_tag :characters, @search_params['characters'] @@ -109,8 +110,6 @@ div.search-adv .opts b Tags br - noscript - p Please enable JavaScript if you wish to have a more friendly tag searching experience. Otherwise, ignore the dropdown and separate exact tag names by commas in the field. .js-tag-editor .selected-tags = text_field_tag :tags, @search_params['tags'] diff --git a/app/views/search/search.html.slim b/app/views/search/search.html.slim index 37e714e..7c6df26 100644 --- a/app/views/search/search.html.slim +++ b/app/views/search/search.html.slim @@ -24,7 +24,10 @@ br span.popular span.stats - p.description= rec.short_description + - if rec.short_description.present? + p.description= rec.short_description + - else + p.description== rec.description_html footer .rating = rating_display(rec.rating)