Sha256: dd94d6b04d43f5ab473d118b90717730bac551771d2c14b3e8d2780dc8b42c64

Contents?: true

Size: 1.93 KB

Versions: 18

Compression:

Stored size: 1.93 KB

Contents

<div class="table-responsive"> 
	<table class="table table-hover members-table middle-align">
	  <thead> 
			<tr> 
				<th style="text-align: center;width:5%">#</th> 
				<th style="text-align: center;width:100px"><i class="fa fa-photo"></i></th> 
				<th>Display Name</th>
				<th>Something Else</th>
				<th style="width:100px;" class="hidden-sm hidden-xs">Featured</th>
				<th style="width:100px;" class="hidden-sm hidden-xs">Status</th>
				<th style="text-align: center;" colspan="2" class="hidden-sm hidden-xs">Actions</th>
			</tr> 
		</thead>
	  <tbody>
	  	<tr id="tr_<%= instance_name %>_0"></tr>
	  	<%% @<%= instance_name %>s.each_with_index do |<%= instance_name %>, i| %>
	  		
	  		<tr id="tr_<%= instance_name %>_<%%= <%= instance_name %>.id %>">

					<th scope="row" style="text-align: center;">
						<%%= serial_number(i) %>
					</th>

					<td class="display-image">
						<%%= display_thumbnail(<%= instance_name %>) %>
					</td>

					<td class="display-link"><%%= link_to <%= instance_name %>.display_name, <%= instance_name %>_path(<%= instance_name %>), remote: true %></td>

					<td class="display-link"><%%#= link_to <%= instance_name %>.<%= instance_name %>_text, <%= instance_name %>_path(<%= instance_name %>), remote: true %></td>

					<td class="hidden-sm hidden-xs"><%%= display_featured(<%= instance_name %>) %></td>
		      
		      <td class="hidden-sm hidden-xs"><%%= display_publishable_status(<%= instance_name %>) %></td>

		      <td class="action-links hidden-sm hidden-xs" style="width:10%"><%%= display_publishable_links(<%= instance_name %>) %></td>

					<td class="action-links hidden-sm hidden-xs" style="width:10%">
						<%%= display_featurable_links(<%= instance_name %>) %>
						<%%= display_manage_links(<%= instance_name %>) %>
					</td>

		    </tr>
		  <%% end %>
	  </tbody>
	</table>
</div>

<div class="row">
  <div class="col-sm-12">
    <%%= paginate_kuppayam(@<%= instances_name %>) %>
  </div>
</div>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.11.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.10.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.9.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.8.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.7.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.6.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.5.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.4.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.3.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.2.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.1.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.2.0.pre.materialize lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.1.39 lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.1.38 lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.1.37 lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.1.36 lib/generators/kuppayam/templates/views/_index.html.erb
kuppayam-0.1.35 lib/generators/kuppayam/templates/views/_index.html.erb