apply docs patch from Carl Franks (thanks!) with a couple minor changes
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Manual / Tutorial.pod
index bdb2cae..673a82a 100644 (file)
@@ -475,6 +475,12 @@ The usercreate.tt template looks like this:
 
  <html><head><title>[% c.config.name %]</title></head><body>
  <h1>Create a new user</h1>
+ <h2>Current users are:</h2>
+ <p>
+    [% FOREACH key = c.config.authentication.users.keys %]
+        [% key %]<br/>
+    [% END %]
+ </p>
  <p> [% c.stash.message %] </p>
  <form action="/users/create" method="post">
  <p>User Name: <input type="text" name="username"/></p>
@@ -629,7 +635,7 @@ example another website, or RSS feeds.
 
 If you have or want a database, there are still choices to be made, there are
 several modules about for accessing databases via OO. The best known are
-probably L<Class::DBI> and L<DBIx::Class>. Catalyst supports making models
+probably L<DBIx::Class> and L<Class::DBI>. Catalyst supports making models
 using either of these.  
 
 For a simple example, we will allow our users to store their favourite