Sha256: 5a42c266a50b99ba06c6d7054ecfb1f3c0287870844da7631581e6f3c46370bf

Contents?: true

Size: 1.35 KB

Versions: 33

Compression:

Stored size: 1.35 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, :locals => {:xhr => true} %>
            </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

33 entries across 33 versions & 1 rubygems

Version Path
active_scaffold-3.4.43 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.42 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.41.1 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.41 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.40 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.39 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.38 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.37 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.36 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.35 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.34 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.33 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.32 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.31 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.30 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.29 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.28 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.27 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.26 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.4.25 app/views/active_scaffold_overrides/_list_with_header.html.erb