cirandas.net

ref: master

plugins/responsive/views/shared/_profile_search_form.html.erb


<% unless theme_responsive? %>
  <%= render file: "#{Rails.root}/app/#{__FILE__[__FILE__.index('views/')..-1]}" %>
<% else %>

<%= form_tag( { :controller => 'profile_search', :profile => profile.identifier}, :method => 'get', :class => 'search_form' ) do %>
  
<%= text_field_tag 'q', @q, :title => _("Find in %s's content") % profile.short_name %> <%= submit_button :search, _('Search'), size: 'default' %>
<%= labelled_radio_button profile.short_name, 'where', 'profile', true, :title => _("Find in %s's content") % profile.short_name %> <%= labelled_radio_button _('General'), 'where', 'environment', false, :title => _("Search all content") %>
<% end %> <% end %>