Sha256: c973f457d6f0565e78de7d9497ceb8d8a510619466bfe2f18795fc20a2d0aa4f

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

<div class="duo-bl">
  <div class="left-part">
    <div class="content">
    	<div class="row-container">
        <div class="white-row">
          <div class="r-corn">
            <%%= link_to t('manage.menu.<%= plural_name %>'), manage_<%= plural_name %>_path, :class=>"dark-text" %>
            <div class="act-bl">
              <%% if can? :create, <%= class_name %>, :context => :manage %>
                <%%= link_to t('manage.add'), new_manage_<%= singular_name %>_path, :class=>"create" %>
              <%% end -%>
            </div>
          </div>
        </div>
      </div>
      
      <div id="<%= plural_name %>" class="stage">
        <%%= render :partial=>"manage/<%= plural_name %>/<%= singular_name %>", :collection=>@<%= plural_name %> %>
        <%%= paginate @<%= plural_name %>, :theme => 'manage' %>
      </div>
      
      <script type='text/javascript'>
        $(document).ready(function(){
          Manage.init_collection('<%= plural_name %>', 'dinamic-bl');
        });
      </script>
      
    </div>
  </div>
  
  <div class="right-part">
    <div class="filter-right">
      <%%= render :partial=>"manage/<%= plural_name %>/model_filter" %>
    </div>
  </div>
</div> 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sunrise-scaffold-0.2.2 lib/generators/sunrise/scaffold/templates/single/views/index.html.erb
sunrise-scaffold-0.2.1 lib/generators/sunrise/scaffold/templates/single/views/index.html.erb
sunrise-scaffold-0.2.0 lib/generators/sunrise/scaffold/templates/single/views/index.html.erb