Sha256: d7c90424f5f55777e57fac14dc66506065cd25b5088686530c0969d54cfb3b78

Contents?: true

Size: 1.55 KB

Versions: 69

Compression:

Stored size: 1.55 KB

Contents

<% content_for :caboose_css do %>
<% end %>
<% content_for :caboose_js do %>
<%
#javascript_include_tag "caboose/model/all" 
%>
<%= javascript_include_tag "caboose/model/class" %>
<%= javascript_include_tag "caboose/model/model" %>
<%= javascript_include_tag "caboose/model/attribute" %>
<%= javascript_include_tag "caboose/model/model_binder" %>
<%= javascript_include_tag "caboose/model/bound_control" %>
<%= javascript_include_tag "caboose/model/bound_checkbox" %>
<%= javascript_include_tag "caboose/model/bound_checkbox_multiple" %>
<%= javascript_include_tag "caboose/model/bound_image" %>
<%= javascript_include_tag "caboose/model/bound_select" %>
<%= javascript_include_tag "caboose/model/bound_text" %>
<%= javascript_include_tag "caboose/model/bound_textarea" %>
<%= javascript_include_tag "caboose/model/bound_richtext" %>
<% end %>

<h1>Edit Page</h1>
<ul id='tabs'>
<%
tabs = {
  'General'         => "/admin/pages/#{@page.id}/edit",
  'Content'         => "/admin/pages/#{@page.id}/content",     
  'Custom CSS'      => "/admin/pages/#{@page.id}/css", 
  'Custom JS'       => "/admin/pages/#{@page.id}/js", 
  'SEO'             => "/admin/pages/#{@page.id}/seo", 
  'Sitemap'         => "/admin/pages/#{@page.id}/sitemap", 
  'Delete Page'     => "/admin/pages/#{@page.id}/delete" 
}

%>
<% tabs.each do |text, href| %>
<li<%= raw request.fullpath == href ? " class='selected'" : '' %>><a href='<%= href %>'><%= raw text %></a></li>
<% end %>
<li class='back'><input type='button' value='< Back' onclick="window.location='/admin/pages';" /></li>
</ul>
<div id='content2'>

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
caboose-cms-0.3.78 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.77 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.76 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.75 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.74 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.73 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.72 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.71 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.70 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.69 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.68 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.67 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.66 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.65 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.64 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.63 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.62 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.61 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.60 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.59 app/views/caboose/pages/_admin_header.html.erb