Custom story-node-form.tpl.php not working I have created a custom node add form for story content type. Though this appears as expected but do not working. Problem is when i click on the Submit button then this form just redirect me again in node/add/story path instead creating the story page!Here is what i have did (Here i have used bartik theme):


  template.php


    function bartik_theme() {
    return array(
    'story_node_form' =&gt; array(
    'arguments' =&gt; array('form' =&gt; NULL),
    'template' =&gt; 'story-node-form',
    'render element' =&gt; 'form',
    ),
    );



  story-node-form.tpl.php


&lt;div class='story-form'&gt;
&lt;div&gt;&lt;?php print drupal_render($form['title']); ?&gt;&lt;/div&gt;
&lt;div&gt;&lt;?php print drupal_render($form['body']); ?&gt;&lt;/div&gt;
&lt;div&gt;&lt;?php print drupal_render($form['actions']); ?&gt;&lt;/div&gt;
&lt;div&gt;&lt;?php print drupal_render($form['additional_settings']); ?&gt;&lt;/div&gt;
&lt;div&gt;&lt;?php print drupal_render($form['actions']); ?&gt;&lt;/div&gt;
&lt;/div&gt;


Now if i click on the Submit button then this story creating form just redirect me again in node/add/story path instead creating the story page! What i am missing here? Thanks
I have solved this by doing &lt;?php print kpr($form); ?&gt; and put all the hidden input fields in the form like token, form_id etc that worked!