h2 with css class title

This commit is contained in:
Alexander Meindl 2018-02-27 17:06:02 +01:00
parent b3eca5d1df
commit fbe460abb0

View File

@ -1,5 +1,5 @@
= render(partial: 'additionals/live_search_ajax_call.js', layout: false, formats: [:js])
h2
h2.title
= @query.new_record? ? l(title) : h(@query.name)
span.additionals-live-search
= text_field_tag(:search, q, autocomplete: 'off', class: 'live-search-field', placeholder: l(placeholder))