                       </ul>
                    </nav>
                </div>

                <?r [:success, :error].each do |type| ?>
                <?r if flash[type] ?>
                <div class="message grid_12 #{type}">
                    <p>#{flash[type]}</p>
                </div>
                <?r end ?>
                <?r end ?>

                <div id="content" class="grid_12">
                    #{@content}
                </div>
            </div>

            <footer id="footer">
    