Skip to content

Commit

Permalink
Adding embed options to search form to work with iframes.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackjk3 committed Jul 29, 2015
1 parent 6c0e244 commit d22ecfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_search_form.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= form_tag studies_path, method: :get, class: 'search-form', target: (params[:group] ? '_blank' : nil) do
= form_tag studies_path, method: :get, class: 'search-form', target: (params[:action] == 'embed' ? '_blank' : nil) do
.row
.col-md-6
%label{ for: 'search_heathy_volunteers', data: { toggle: 'popover', title: 'Healthy Volunteer', content: 'A person who does not have the condition or disease being studied.', placement: 'top' } }
Expand Down

0 comments on commit d22ecfe

Please sign in to comment.