package japidviews.templates;

import java.util.*;
import java.io.*;
import cn.bran.japid.tags.Each;
import static play.templates.JavaExtensions.*;
import static cn.bran.play.JapidPlayAdapter.*;
import static play.data.validation.Validation.*;
import static cn.bran.play.WebUtils.*;
import japidviews._layouts.*;
import static japidviews._javatags.JapidWebUtil.*;
import play.data.validation.Validation;
import play.mvc.Scope.*;
import models.*;
import play.data.validation.Error;
import japidviews._tags.*;
import controllers.*;
import play.mvc.Http.*;
import japidviews._javatags.*;
//
// NOTE: This file was generated from: japidviews/templates/openBrace.html
// Change to this file will be lost next time the template file is compiled.
//

@cn.bran.play.NoEnhance
public class openBrace extends cn.bran.japid.template.JapidTemplateBase {
	public static final String sourceTemplate = "japidviews/templates/openBrace.html";
	{
		headers.put("Content-Type", "text/html; charset=utf-8");
	}

	public openBrace() {
		super(null);
	}

	public openBrace(StringBuilder out) {
		super(out);
	}

	public cn.bran.japid.template.RenderResult render() {
		long t = -1;
		super.layout();
		return new cn.bran.japid.template.RenderResult(this.headers, getOut(),
				t);
	}

	@Override
	protected void doLayout() {

		// - add implicit variables 

		final Request request = Request.current();
		assert request != null;

		final Response response = Response.current();
		assert response != null;

		final Flash flash = Flash.current();
		assert flash != null;

		final Session session = Session.current();
		assert session != null;

		final RenderArgs renderArgs = RenderArgs.current();
		assert renderArgs != null;

		final Params params = Params.current();
		assert params != null;

		final Validation validation = Validation.current();
		assert validation != null;

		final cn.bran.play.FieldErrors errors = new cn.bran.play.FieldErrors(
				validation);
		assert errors != null;

		final play.Play _play = new play.Play();
		assert _play != null;

		// - end of implicit variables 

		//------
		p("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"
				+
				"<html>\n"
				+
				"<head>\n"
				+
				"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"
				+
				"<title>Insert title here</title>\n" +
				"</head>\n" +
				"<body>\n" +
				"<p>hello</p>\n");// line 1
		int i = 3;// line 9
		if (true)// line 10
		{// line 11
			while (i-- > 0) // line 12
			{// line 13
				p("        <p>in while ");// line 13
				p(i);// line 14
				p("</p>\n" +
						"    ");// line 14
			}// line 15
			p("    <p>good2</p>\n");// line 15
		}// line 17
		if (true) {// line 19
			p("    <p>good 3</p>\n" +
					"  ");// line 19
		}// line 21
		p("</body>\n" +
				"</html>\n");// line 21

	}

}
