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
Ivar Abrahamsen
committed
May 22, 2012
1 parent
a622230
commit fad97ae
Showing
11 changed files
with
259 additions
and
30 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
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
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
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
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
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
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
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
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,32 @@ | ||
@(participant: Participant)(implicit currentParticipant: Option[Participant]) | ||
|
||
@import helper._ | ||
@import helper.twitterBootstrap._ | ||
@import models._ | ||
|
||
@main(" snaps | delete account"){ | ||
<li> | ||
<span class="divider">/</span> | ||
<a href="@routes.ParticipantController.viewParticipant(participant.participantId)">Participant</a> | ||
</li> | ||
} { | ||
|
||
<h2>Delete account</h2> | ||
<br/> | ||
<h3>Participant: @participant.username</h3> | ||
<br/> | ||
<div class="alert alert-block"> | ||
Please confirm you want to delete your account | ||
<br/><br/> | ||
Note this will also delete your albums and events | ||
</div> | ||
|
||
@form(action = routes.ParticipantController.deleteParticipant(participant.participantId), 'class -> "form-horizontal"){ | ||
<div class="form-actions"> | ||
<button type="submit" class="btn btn-danger">Delete account</button> | ||
<a class="btn" href="@routes.ParticipantController.viewParticipant(participant.participantId)">Cancel</a> | ||
</div> | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.