Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add search.gsp to Unit 07 GrailsWorkshop
- Loading branch information
paolo
authored and
paolo
committed
Feb 24, 2012
1 parent
006fede
commit 7edf8cb
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!-- | ||
To change this template, choose Tools | Templates | ||
and open the template in the editor. | ||
--> | ||
|
||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
|
||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<meta name="layout" content="main" /> | ||
<title>GEvents Search Results</title> | ||
|
||
</head> | ||
<body> | ||
<div class="nav" > | ||
<span class="menuButton" > | ||
<a class="home" href="${resource(dir:'')}" >Home</a> | ||
</span> | ||
</div> | ||
<div class="body" > | ||
<h1>Search Results</h1> | ||
<ul> | ||
<g:if test="${events}" > | ||
<g:each in="${events}" var="event" > | ||
<li> | ||
<g:link action="show" id="${event.id}" >${event}</g:link> | ||
</li> | ||
</g:each> | ||
</g:if> | ||
<g:else> | ||
<h3>No Matching Results Found</h3> | ||
</g:else> | ||
</ul> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|