Sha256: e76252684c632bf5ac4fa172ba0ba8fd66f1b406607806bd74293222902ce891

Contents?: true

Size: 1.33 KB

Versions: 16

Compression:

Stored size: 1.33 KB

Contents

<div id="<%= active_scaffold_id -%>" class="<%= as_main_div_class %>" <%= "data-eid=#{id_from_controller(params[:eid])}" if params[:eid]%>>
  <div class="active-scaffold-header">
    <%= render :partial => 'list_header' %>
  </div>
  <table>
    <tbody class="before-header" id="<%= before_header_id -%>">
      <% if active_scaffold_config.list.always_show_search %>
      <% old_record, @record = @record, new_model %>
        <tr>
          <td>
            <div class="active-scaffold show_search-view <%= "#{id_from_controller params[:controller]}-view" %> view">
              <%= render :partial => active_scaffold_config.list.search_partial %>
            </div> 
          </td> 
        </tr>
      <% @record = old_record %>
      <% else %>
      <tr><td></td></tr>
      <% end %>
      <% if active_scaffold_config.list.always_show_create %>
      <% old_record, @record = @record, new_model %>
        <tr> 
          <td> 
            <div  class="active-scaffold create-view <%= "#{id_from_controller params[:controller]}-view" %> view">
              <%= render :partial => 'create_form_on_list' %>
            </div> 
          </td> 
        </tr>
      <% @record = old_record %>
      <% end %>
    </tbody>
  </table>
  <div id="<%= active_scaffold_content_id-%>" class="as_content">
    <%= render :partial => 'list' %>
  </div>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
active_scaffold-3.4.12 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.11 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.10 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.9 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.8 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.7 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.5 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.4 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.3 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.2 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.1 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.0.1 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.0 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.3.3 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.3.2 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.3.1 app/views/active_scaffold_overrides/_list_with_header.html.erb