Add app.Context to transfer implicit data from Servlet to view.

This commit is contained in:
takezoe
2013-04-19 16:26:26 +09:00
parent 9f4d77cef0
commit 7bfa88064d
11 changed files with 54 additions and 42 deletions

View File

@@ -1,6 +1,7 @@
@()
@()(implicit context: app.Context)
@import context._
@main("Create a New Repository"){
<form id="form" method="post" action="/new" validate="true">
<form id="form" method="post" action="@path/new" validate="true">
<fieldset>
<label for="name"><strong>Repository name</strong></label>
<input type="text" name="name" id="name" />