Here is a quickie that will probably do what you want.
If the original front/index.dryml is:
<page title="Home">
<body: class="front-page"/>
<content:>
<header class="content-header">
<h1>Welcome to <app-name/></h1>
<section class="welcome-message">
<h3>Congratulations! Your Hobo Rails App is up and running</
h3>
<ul>
<li>To customise this page: edit app/views/front/
index.dryml</li>
</ul>
</section>
</header>
<section class="content-body" repeat="&front_models">
<div class="model">
<h3><type-name plural/></h3>
<collection:recent/>
<p if="&can_create? && linkable?(:new)">Create a <a to="&this"
action="new"/>.</p>
</div>
</section>
</content:>
</page>
Just add this one little bit if="&(this.to_s=='Post')" here:
<div class="model" if="&(this.to_s=='Post')">
Brett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---