forked from eugenp/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mariusz Kuligowski
committed
Mar 15, 2018
1 parent
e24e471
commit 8384da6
Showing
3 changed files
with
55 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,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="layout" content="main" /> | ||
</head> | ||
<body> | ||
<div id="create-student" class="content scaffold-create" role="main"> | ||
<g:form resource="${this.student}" method="POST"> | ||
<fieldset class="form"> | ||
<f:all bean="student"/> | ||
</fieldset> | ||
<fieldset class="buttons"> | ||
<g:submitButton name="create" class="save" value="Create" /> | ||
</fieldset> | ||
</g:form> | ||
</div> | ||
</body> | ||
</html> |
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,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="layout" content="main" /> | ||
</head> | ||
<body> | ||
<div class="nav" role="navigation"> | ||
<ul> | ||
<li><g:link class="create" action="create">Create</g:link></li> | ||
</ul> | ||
</div> | ||
<div id="list-student" class="content scaffold-list" role="main"> | ||
<f:table collection="${studentList}" properties="['firstName', 'lastName']" /> | ||
</div> | ||
</body> | ||
</html> |
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,21 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="layout" content="main" /> | ||
</head> | ||
<body> | ||
<div class="nav" role="navigation"> | ||
<ul> | ||
<li><g:link class="list" action="index">Students list</g:link></li> | ||
</ul> | ||
</div> | ||
<div id="show-student" class="content scaffold-show" role="main"> | ||
<f:display bean="student" /> | ||
<g:form resource="${this.student}" method="DELETE"> | ||
<fieldset class="buttons"> | ||
<input class="delete" type="submit" value="delete" /> | ||
</fieldset> | ||
</g:form> | ||
</div> | ||
</body> | ||
</html> |