Sha256: 421c71948c65586e2f630d17eb232e08647087dab44b89c226c327406acf0634

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

<%(BeforeCompile) opt[:process_xhtml]=true %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
 ! Excerpted from "Agile Web Development with Rails, 2nd Ed."
 ! We make no guarantees that this code is fit for any purpose.
 ! Visit http://www.pragmaticprogrammer.com/titles/rails2 for more book information.
-->
<<html<
  <<head<
    <title>Administer the Bookstore</title>
    %= stylesheet_link_tag "scaffold", "depot", :media => "all"
  <<body#admin<
    <<div#banner<
      %= image_tag("logo.png")
      %= @page_title || "Pragmatic Bookshelf"

    <<div#columns<
      <<div#side<
        <<p<
          %= link_to "Products",   :controller => 'admin', :action => 'list'
        <<p<
          %= link_to "List users", :controller => 'login', :action => 'list_users'
          <br/>
          %= link_to "Add user",   :controller => 'login', :action => 'add_user'
        <<p<
          %= link_to "Logout",     :controller => 'login', :action => 'logout'
      <<div#main<
        <<div#notice ?[flash[:notice]] <
          %= flash[:notice]
        << :content_for_layout | NoSanitize >>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amrita2-2.0.2 sample/depot/app/views/layouts/admin.a2html