.lightbg-bottom-border.p10 - if params[:id ] == "subtrades-expert" = text_field_tag 'subtrade-search', nil, placeholder: "Search by #{Fixxpert.model_name.human}, #{Trade.model_name.human} or #{Subtrade.model_name.human}", id: 'search-trades-fixxperts', class: 'search-trades-list-fixxperts' - elsif params[:id] == "expertise-required" = text_field_tag 'subtrade-search', nil, placeholder: "Search by #{Fixxpert.model_name.human}, #{Trade.model_name.human} or #{Subtrade.model_name.human}", id: 'search-trades', class: 'search-trades-list' - else = text_field_tag 'subtrade-search', nil, placeholder: "Search by #{Fixxpert.model_name.human}, #{Trade.model_name.human} or #{Subtrade.model_name.human}", id: 'search-trades-books', class: 'search-trades-list-books max-w700 pull-left' .lightbg-bottom-border.ptb10 .row - if params[:id ] == "subtrades-expert" #fixxpert-trades-list.hbs.col-sm-12.col-md-12 data-url=search_api_trades_path #fixxpert-subtrades-list.hbs.col-sm-12.col-md-12 data-url=api_subtrades_path - elsif params[:id] == "expertise-required" #trades-list.hbs.col-sm-12.col-md-12 data-url=search_api_trades_path #subtrades-list.hbs.col-sm-12.col-md-12 data-url=api_subtrades_path - else #books-trades-list.hbs.col-sm-12.col-md-12 data-url=search_api_trades_path #books-subtrades-list.hbs.col-sm-12.col-md-12 data-url=api_subtrades_path #selected-books-subtrades-list.hbs.col-sm-12.col-md-12