<div class="overlay_blue">Name:</div>
<div id="name" class="overlay_articles">
<%= overlay.name -%>
</div>

<div class="overlay_blue">Description:</div>
<div class="overlay_articles">
<div id="edit_description">
 <%= overlay.description_html %>
</div>
</div>

<script language="JavaScript">
 new Ajax.InPlaceEditor('edit_description', 'edit_overlay_description/<%= overlay.id %>',
 {loadTextURL:'view_overlay_description/<%= overlay.id %>', cols:40, rows:8});
</script>

<div class="overlay_blue">Tags by Pages:</div>
<div id="tag" class="overlay_articles">
<% for page in overlay.pages %>
<%= link_to page.name, :controller => 'pages', :action => 'show', :id => page -%>
<% end %>
</div>

<div class="overlay_blue">Updated at:</div>
<div class="overlay_articles">
<%= overlay.updated_at -%>
</div>

<div class="overlay_blue">Created at:</div>
<div class="overlay_articles">
<%= overlay.created_at -%>
</div>

<div class="overlay_blue">Actions:</div>
<div class="overlay_articles">
<%= link_to "Show", :action => 'show', :id => overlay %>
</div>