Skip to content

Commit

Permalink
remove doubled add sessions button
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Fahy authored and jcoyne committed Sep 28, 2017
1 parent 1750491 commit 1ddd1e7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/app/views/categories/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<% title("#{@category.name} Sessions") %>
<p><%= add_sessions_button %></p>
<% if @sessions.empty? %>
<div>
<h2>There are no <%= @category.name.downcase %> sessions yet.</h2>
Expand Down
1 change: 0 additions & 1 deletion src/app/views/pages/_sessions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@
<!-- <div class="row">
<p><%= add_sessions_button %></p>
</div> -->

<% end %>
2 changes: 1 addition & 1 deletion src/app/views/sessions/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

<% cache [current_participant] + event_schedule_cache_key(@event) do # fragment contains user-specific info %>
<div class="row">
<p><%= add_sessions_button %></p>
<div class="column grid_10" style="margin-left:0px">
<ul class="sessionsList">
<%= render @sessions %>
</ul>
</div>
</div>
<% end %>
<p><%= add_sessions_button %></p>

0 comments on commit 1ddd1e7

Please sign in to comment.