%META:TOPICINFO{author="RafaelAlvarez" date="1090993257" format="1.0" version="1.1"}%
<script> function onSub() {
var x,y;
x=document.getElementById("one").value;
y=x.indexOf("Story");
if(y==-1)
 document.getElementById("one").value=x+"Story"; 
document.new_form.submit();
} </script>

%INCLUDE{%TOPIC%NavBar}%
---+ %TOPIC%

%EDITTABLE{ format="| text, 20 | text, 40 |"  editbutton="Enter the Summary" changerows="off" }%
| *Summary*	 |  |
| *Team*	 | %URLPARAM{"topicparent"}%  | 


 
%EDITTABLE{ format="| text, 20 | date,15 |"  editbutton="Enter the date" changerows="off" }%
| *Start Date* | |
| *End Date* |  |

---

%XPSHOWSTORIESINTOPIC{%TOPIC%}%


---+++Create a new story
<form name="new_form" action="%SCRIPTURL{"edit"}%/%WEB%/"> <input type="text" name="topic" size="30"  id="one" />
<input type="hidden" name="onlywikiname" value="on" />
    <input type="hidden" name="templatetopic" value="XpStoryTemplate"/>
   <input type="hidden" name="topicparent" value="%TOPIC%"/>
    <input type="submit" name ="save"  onclick="onSub()" class="twikiSubmit" value="Create New Story" />
  </form>
<br>

%TOPICCREATE{ template="NavIterationTemplate" topic="%TOPIC%NavBar" parameters="iterationname=%URLPARAM{"topic"}%&iterationsummary=%URLPARAM{"topic"}%Summary"}%
%TOPICCREATE{ template="IterationSummaryTemplate" topic="%TOPIC%Summary"  }%
