Skip to content

Commit

Permalink
Surrounding party.url with inline EJS tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinswiber committed Jul 11, 2013
1 parent 355becc commit b9b9500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/templates/parties.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for(var i=0; i<parties.length; i++){
<div class="party <%= partial %>">
<h2><%= party.name %></h2>
<p class="what">{ <% for(activity in party.what){ %><%= party.what[activity] %><% if(activity < party.what.length -1){ %>, <% } } %> }</p>
<p ><strong>When:</strong> <%= party.when %> <br/><strong>Where:</strong> <a href="party.url"><%= party.where %></a></p>
<p ><strong>When:</strong> <%= party.when %> <br/><strong>Where:</strong> <a href="<%= party.url %>"><%= party.where %></a></p>
<% if(partial.length <= 0){ %>
<div class="hero">
<img src="<%= party.image %>" alt="Party Hero Image" />
Expand All @@ -27,4 +27,4 @@ for(var i=0; i<parties.length; i++){
http://maps.googleapis.com/maps/api/staticmap?center=42.3362303,+-83.0491634&zoom=14&size=600x300&maptype=roadmap&markers=color:blue %7Clabel:S %7C42.3362303,-83.0491634&sensor=false
-->
-->

0 comments on commit b9b9500

Please sign in to comment.