Commit c40f492d

mo khan <mo@mokhan.ca>
2013-05-04 01:38:51
replace img with image_tag
1 parent 541452d
Changed files (3)
app
views
devise
registrations
sessions
profiles
app/views/devise/registrations/new.html.erb
@@ -46,7 +46,7 @@
       <div class="span12">
         <div class="row">
           <div class="span6 hidden-phone">
-            <img src="/assets/cakeside-logo.png" alt="" />
+            <%= image_tag "cakeside-logo.png" %>
             <div style="padding-left:10px;padding-right:10px;">
               <h3>Why CakeSide?</h3>
               <p>CakeSide is a community dedicated to giving cake artists, bakers, creators, hobbyists, and of course cake lovers a place to share ideas and creations. Explore your creativity and find your inspiration. Resources shared here are all user driven.</p>
app/views/devise/sessions/new.html.erb
@@ -46,7 +46,7 @@
   <div class="span12">
     <div class="row">
       <div class="span6 hidden-phone">
-        <img src="/assets/cakeside-logo.png" alt="" />
+        <%= image_tag "cakeside-logo.png" %>
         <div style="padding-left:10px;padding-right:10px;">
           <h3>Why CakeSide?</h3>
           <p>CakeSide is a community dedicated to giving cake artists, bakers, creators, hobbyists, and of course cake lovers a place to share ideas and creations. Explore your creativity and find your inspiration. Resources shared here are all user driven.</p>
app/views/profiles/_me_box.html.erb
@@ -12,7 +12,7 @@
       <script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
     <% end %>
     <% unless @user.facebook.blank? %>
-      <p><a  href="<%= @user.facebook %>" target="_blank"><img src="/assets/f_logo_16x16x32.png" alt="Like on Facebook"/> Like on Facebook</a></p>
+      <p><a  href="<%= @user.facebook %>" target="_blank"><%= image_tag "f_logo_16x16x32.png", :alt => "Like us on Facebook" %> Like on Facebook</a></p>
     <% end %>
   </div>
 </div>