Sha256: 7f026e27d676bb8fd4039f36e90a81da7606b11e83c6cbc32eb13080462995f1

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

<%= render_with_fallback_themes "screen_option" if @screen_option_key %>
<div class="clear"></div>
<div class="mainTitle">
  <%= render_with_fallback_themes "page_header" %>

  <%= render_with_fallback_themes "filters" %>
  <%= render_with_fallback_themes "search" if @resource_config.attributes(:search).size > 0 %>
</div>

<%= render_with_fallback_themes "above_table" %>

<div class="mainContent">
<%= semantic_form_for(@resource_class.new, :url => bulk_resources_path(@resource_name, request_query_hash), :html => {:method => :put, :multipart => true}) do |f| %>

  <%= render_with_fallback_themes "operations", :f => f %>

  <% attrs = index_list_attributes %>
  <% if attrs.size > 0 %>
    <div class="mainTable <%= @resource_class.model_name.collection %>_table">
      <%= render_with_fallback_themes "pagination", :style => "tableHead" %>
      <%= render_with_fallback_themes "table", :attrs => attrs %>
      <%= render_with_fallback_themes "pagination", :style => "tableHead tableBottom" %>
    </div>
  <% end %>

<% end %>
</div>

<% if resource_sortable? %>
<script type="text/javascript">
  $(function(){
    $(".tableList tbody").make_table_sortable('<%= resources_path %>/update_positions');
  })
</script>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qor_layout-0.0.5 app/views/resources/qor_layout/index.html.erb
qor_layout-0.0.4 app/views/resources/qor_layout/index.html.erb
qor_layout-0.0.3 app/views/resources/qor_layout/index.html.erb
qor_layout-0.0.2 app/views/resources/qor_layout/index.html.erb
qor_layout-0.0.1 app/views/resources/qor_layout/index.html.erb