Permalink
Browse files

Cleaned up Readme and a bit of the forms.

  • Loading branch information...
1 parent 4d7101b commit 466bff0b4782afd73c8205d62913ec4de7c40885 Eric Ryan Jones committed Jul 21, 2013
Showing with 22 additions and 8 deletions.
  1. +14 −2 README.md
  2. +1 −1 app/views/comments/_form.html.erb
  3. +7 −5 app/views/topics/show.html.erb
View
@@ -1,4 +1,16 @@
-socarticco
+socratico
==========
-Code for Socratic.co Coaching & Mentoring Platform
+Code for Socratic.co Coaching & Mentoring Platform
+
+Main Repository:
+https://bitbucket.org/socraticco/socraticco
+
+Mirror Repository:
+https://github.com/ericryanjones/socraticco
+
+Ticket system:
+https://socraticco.atlassian.net/browse/SOC
+
+Wiki:
+https://socraticco.atlassian.net/wiki/display/SOC/Socraticco+Home
@@ -3,6 +3,6 @@
<%= f.input :body, :input_html => { :rows => "2" }, :label => false %>
<%= f.input :commentable_id, :as => :hidden, :value => comment.commentable_id %>
<%= f.input :commentable_type, :as => :hidden, :value => comment.commentable_type %>
- <%= f.button :submit, :class => "btn btn-primary", :disable_with => "Submitting…" %>
+ <%= f.button :submit, :value =>"Post", :class => "btn btn-primary", :disable_with => "Submitting…" %>
<% end %>
</div>
@@ -2,9 +2,11 @@
<div id="topicKeywordList">
<%= @topic.keyword_list %>
</div>
+<h2>Add to the Conversation:</h2>
+ <%= render :partial => 'comments/form', :locals => { :comment => @new_comment } %>
<h2>Conversation</h2>
-No conversation started yet... how about getting the ball rolling?
-
-<h3>Add to the Conversation:</h3>
-<%= render :partial => 'comments/form', :locals => { :comment => @new_comment } %>
-<%= render :partial => 'comments/comment', :collection => @comments, :as => :comment %>
+ <% if @comments.count > 0 %>
+ <%= render :partial => 'comments/comment', :collection => @comments, :as => :comment %>
+ <% else %>
+ <p>No conversation started yet... how about getting the ball rolling?</p>
+ <% end %>

0 comments on commit 466bff0

Please sign in to comment.