title: Why is Meteor Template Object Not Defined?
body: <p>I've been following a tutorial to make a simple forum, after finally getting all the code get together, it tells me 'Template is not defined'</p>
  
  <p>Code of forum.html</p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;Forum&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    {{&gt; form}}
    {{&gt; posts}}
  &lt;/body&gt;
  
  &lt;template name="posts"&gt;
    &lt;h1&gt;Posts&lt;/h1&gt;
    &lt;ul&gt;
      {{#each posts}}
        &lt;li&gt;
          &lt;h3&gt;{{title}}&lt;/h3&gt;
          &lt;p&gt;{{body}}&lt;/p&gt;
        &lt;/li&gt;
      {{/each}}
    &lt;/ul&gt;
  &lt;/template&gt;
  
  
  &lt;template name="form"&gt;
    &lt;form&gt;
      &lt;label&gt;Post Title:
        &lt;input type="text" id="title" /&gt;
      &lt;/label&gt;
      &lt;label&gt;Post Body:
        &lt;textarea id="body"&gt;&lt;/textarea&gt;
      &lt;/label&gt;
      &lt;input type="submit" value="Submit" id="submit"/&gt;
    &lt;/form&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Code of forum.js:</p>
  
  <pre><code>var Posts = new Meteor.Collection('posts');
    if (Meteor.isClient) {
      Template.posts.helpers({
        Posts: function() {
          return Posts.find();
        }
      });
    }
  
  Template.form.events = {
    'click #submit': function(event){
      event.preventDefault();
      var title = $('#title').val();
      var body = $('#body').val();
      Posts.insert({
        title: title,
        body: body
      });
      $('#title, #body').val('');
    }
  };
  </code></pre>
  
  <p>Here's some of the output I get from meteor</p>
  
  <pre><code>W20150211-02:01:42.086(0)? (STDERR)           
  W20150211-02:01:42.088(0)? (STDERR) /home/ubuntu/.meteor/packages/meteor-tool/.1.0.40.1ef5dzv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:173
  W20150211-02:01:42.088(0)? (STDERR)                                             throw(ex);
  W20150211-02:01:42.088(0)? (STDERR)                                                   ^
  W20150211-02:01:42.091(0)? (STDERR) ReferenceError: Template is not defined
  W20150211-02:01:42.091(0)? (STDERR)     at app/forum.js:10:1
  W20150211-02:01:42.091(0)? (STDERR)     at app/forum.js:23:3
  W20150211-02:01:42.091(0)? (STDERR)     at /home/ubuntu/workspace/forum/.meteor/local/build/programs/server/boot.js:205:10
  W20150211-02:01:42.092(0)? (STDERR)     at Array.forEach (native)
  W20150211-02:01:42.092(0)? (STDERR)     at Function._.each._.forEach (/home/ubuntu/.meteor/packages/meteor-tool/.1.0.40.1ef5dzv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
  W20150211-02:01:42.092(0)? (STDERR)     at /home/ubuntu/workspace/forum/.meteor/local/build/programs/server/boot.js:116:5
  =&gt; Exited with code: 8
  =&gt; Your application is crashing. Waiting for file change.
  </code></pre>