Skip to content

Commit

Permalink
Removing comments again
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuberdeau committed Aug 16, 2011
1 parent 6bcb6f4 commit 05daf2c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
22 changes: 0 additions & 22 deletions app/views/articles/show.html.erb
Expand Up @@ -24,25 +24,3 @@ src="http://www.facebook.com/plugins/like.php?href=www.roberthuberdeau.com&l
<% end %>
<%= link_to 'Back', articles_path %>
</div>
<h2>Comments</h2>
<div id ="comments">
<%= render :partial => @article.comments %>
</div>
<%= form_for([@article, @comment]) do |f| %>
<div class="field">
<%= f.label :name %><br />
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :email %><br />
<%= f.text_field :email %>
</div>
<div class="field">
<%= f.label :body %><br />
<%= f.text_area :body %>
</div>
<div id="captcha">
<%= render '/shared/recaptcha' %>
</div>
<p><%= f.submit %></p>
<% end %>
4 changes: 1 addition & 3 deletions app/views/layouts/application.html.erb
Expand Up @@ -51,9 +51,7 @@
<div class="span-4 last" id="sidebar">
<%= render(:partial => 'shared/side') %>
<div class="sidead">
<iframe src="http://rcm.amazon.com/e/cm?t=roberthuberde-20&o=1&p=8&l=as1&asins=1430223634&ref=tf_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=FFFFFF&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=roberthuberde-20&o=1&p=8&l=as1&m=amazon&f=ifr&ref=tf_til&asins=1934356549" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?t=roberthuberde-20&o=1&p=8&l=as1&asins=0596515200&ref=tf_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

</div>
</div>
</div>
Expand Down
11 changes: 11 additions & 0 deletions app/views/shared/_side.html.erb
Expand Up @@ -8,5 +8,16 @@
<% end %>
</div>
<% end %>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1647362036478941";
/* Sidebar */
google_ad_slot = "0512895380";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


0 comments on commit 05daf2c

Please sign in to comment.