Sha256: 0e16c47b52226e4825ac335197dedd04b6f4479b6a692f8b63d11da8e4eb3a28

Contents?: true

Size: 1.37 KB

Versions: 38

Compression:

Stored size: 1.37 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 cellpadding="0" cellspacing="0">
    <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 !nested? && 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

38 entries across 38 versions & 2 rubygems

Version Path
active_scaffold-sequel-0.8.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.7.1 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.7.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.6.2 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.6.1 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.6.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.20 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.3.0.rc2 app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.2.19 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.3.0.rc app/views/active_scaffold_overrides/_list_with_header.html.erb
active_scaffold-3.2.17 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.16 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.15 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.14 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.13 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.12 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.11 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.10 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.9 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.8 frontends/default/views/_list_with_header.html.erb