1 <h3>#if ( $movie.Id > 0 ) Edit a movie #else Add a movie #end</h3>
3 $Form.FormTag("%{action='Save'}")
4 <input type="hidden" name="movie.id" value="$movie.Id" />
6 <tr><td><strong>$text.title</strong></td><td><input type="text" name="movie.title" value="$!movie.Title" /></td></tr>
7 <tr><td><strong>$text.description</strong></td><td><textarea name="movie.description" cols="50" rows="5">$!movie.Description</textarea></td></tr>
8 <tr><td><strong>$text.dateAddedLong</strong></td><td><input name="movie.added" type="text" size="7" value="$movie.Added.ToString( "d" )" /></td></tr>
9 <tr><td><strong>$text.scoreLong</strong></td><td><input name="movie.score" size="2" type="text" value="$movie.Score" /></td></tr>
11 <td colspan="2" align="center">
18 <a href="$siteRoot/Movies/List.castle">Cancel</a>