Sha256: 201ea43039eb277a29c687f0e67023d3012415ac6c37a89fe8e86cbfdc14da51

Contents?: true

Size: 812 Bytes

Versions: 17

Compression:

Stored size: 812 Bytes

Contents

<%=content_for :data_controls do%>
<%=link_to "New Template",new_spud_admin_template_path(),:class => "button",:title => "New Template"%>
<%end%>
<%=content_for :detail do%>
	<div class="page_list">
			<%@templates.each do |template|%>
				<div class="page_row">
					<span class="row_meta"><%=link_to template.name,edit_spud_admin_template_path(:id => template.id)%></span>

					<span class="edit_controls"><%=link_to "Edit",edit_spud_admin_template_path(:id => template.id), :title => "Edit Template",:class => 'button'%>&nbsp;&nbsp;<%=link_to "Remove",spud_admin_template_path(:id => template.id),:method => :delete,:class => 'button',:confirm => "Are you sure you want to remove this template?"%></span>
					<br style="clear:both;"/>
				</div>
			<%end%>
			<%=will_paginate @templates%>
	</div>

<%end%>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spud_cms-0.7.2 app/views/spud/admin/templates/index.html.erb
spud_cms-0.7.1 app/views/spud/admin/templates/index.html.erb
spud_cms-0.7.0 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.8 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.7 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.6 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.5 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.4 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.3 app/views/spud/admin/templates/index.html.erb
spud_cms-0.4.0 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.7 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.6 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.4 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.3 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.2 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.1 app/views/spud/admin/templates/index.html.erb
spud_cms-0.3.0 app/views/spud/admin/templates/index.html.erb