index.html.erb 962 Bytes
<h1><%= _('Organizations') %></h1>

<%= form_tag( { :action => 'index' }, :method => 'get', :id => 'manage-profiles' ) do %>

  <div class="search-field">
    <span class="formfield">
      <%= text_field_tag 'q', @q, :title => _('Find organizations'), :style=>"width:85%" %>
    </span>

    <%= submit_button(:search, _('Search')) %>
  </div>

  <div class="environment-profiles-results-header">
    <div id='environment-profiles-filter-title'><%= @title %></div>

    <div id="environment-profiles-filter-filter">
      <strong><%= _("Filter by: ") %></strong>
      <%= select_tag(:filter, options_for_select([[_('Any'), 'any'],[_('Disabled'), "disabled"], [_('Enabled') , "enabled"]], @filter)) %>
    </div>
    <div style="clear: both"></div>
  </div>

  <%= render :partial => 'results' %>

  <% button_bar do %>
    <%= button :back, _('Back'), :controller => 'admin_panel' %>
  <% end %>
<% end %>

<%= javascript_include_tag 'manage-organizations' %>