Commit 25c6a708

mo k <mo@mokhan.ca>
2013-02-14 13:57:13
move add comment button
1 parent 6ac2167
Changed files (1)
app
views
creations
app/views/creations/show.html.erb
@@ -66,12 +66,12 @@
 <div class="row">
   <a href="#" id="comments"></a>
   <div class="span12">
+    <h3>Comments <small><%= pluralize @creation.comment_threads.length, "comment" %></small></h3>
     <% unless user_signed_in? %>
-      <p class="pull-right"><%= link_to "sign in", new_user_session_path %> to comment </p>
+      <p><%= link_to "sign in", new_user_session_path %> to comment </p>
     <% else %>
-      <p class="pull-right"><a id="add-comment-button" class="btn btn-primary" data-toggle="modal" href="#add-comment-dialog">ADD COMMENT</a></p>
+      <p><a id="add-comment-button" class="btn btn-primary" data-toggle="modal" href="#add-comment-dialog">ADD COMMENT</a></p>
     <% end -%>
-    <h3>Comments <small><%= pluralize @creation.comment_threads.length, "comment" %></small></h3>
     <% @creation.comment_threads.each do |comment| %>
       <div class="row">
         <div class="span8">