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-3.2.7 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.6 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.5 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.4 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.3 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.5.1 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.5.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.2 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.1 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.4.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-sequel-0.3.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.2.0 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.1.20 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.1.19 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.1.18 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.1.17 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.1.15 frontends/default/views/_list_with_header.html.erb
active_scaffold-3.1.14 frontends/default/views/_list_with_header.html.erb