Sha256: cc6397f57ea503a5cd9d285669e27755eccbf89ee6b0fc4e703a4cc7501d6c29

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 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_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :class=>"dark-text" %>
            <div class="act-bl">
              <%% if can? :create, <%= class_name %>, :context => :manage %>
                <%%= link_to t('manage.add'), new_manage_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>.id), :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/multiplay/views/index.html.erb
sunrise-scaffold-0.2.1 lib/generators/sunrise/scaffold/templates/multiplay/views/index.html.erb
sunrise-scaffold-0.2.0 lib/generators/sunrise/scaffold/templates/multiplay/views/index.html.erb