This repository has been archived by the owner on Nov 11, 2017. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Dan Croak
committed
Feb 5, 2011
1 parent
278c548
commit 8993fc7
Showing
7 changed files
with
84 additions
and
8 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
<%= form_for current_user do |form| %> | |||
<div class="description-field"> | |||
<label>Tell local students about yourself</label><br /> | |||
<%= form.text_area :description %> | |||
</div> | |||
<div class="partying-field"> | |||
<label>Are you attending the after-party?<abbr title="required">*</abbr></label><br /> | |||
<%= form.radio_button :partying, true %> | |||
<%= form.label :partying, "Partying", :for => "user_partying_partying" %> | |||
<%= form.radio_button :partying, false %> | |||
<%= form.label :partying, "Not Partying", :for => "user_partying_not_partying" %> | |||
</div> | |||
<%= form.submit "Change RSVP", :disable_with => "Please wait..." %> | |||
<% end %> |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
<div data-role="page"> | |||
<div data-role="header"> | |||
<h1>After-Party</h1> | |||
</div> | |||
|
|||
<div data-role="content" class="ui-content" role="main"> | |||
<% if current_user %> | |||
<p>Cool, see you there today.</p> | |||
<% else %> | |||
<div class="register-button top clearfix"> | |||
<div class="hand left"></div> | |||
<h2><%= link_to "RSVP here", "/auth/twitter", :rel => "external" %></h2> | |||
<div class="hand right"></div> | |||
</div> | |||
<% end %> | |||
<p><a href="http://maps.google.com/maps?cid=11425628393869581370">Map</a> to the Hard Rock Cafe. We suggest taking the Red Line from Kendall to Park Street, then the Green Line from Park Street to Haymarket. The Hard Rock is a short walk from there.</p> | |||
</div> | |||
|
|||
<ul data-role="listview" id="partiers"> | |||
<% @partiers.each do |partier| %> | |||
<li> | |||
<%= twitter_avatar partier.twitter, 73 %> | |||
<%= partier.name %> | |||
<div class="description"><%= partier.description %></div> | |||
</li> | |||
<% end %> | |||
</ul> | |||
</div> |
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