public
Fork of stevenbristol/lovd-by-less
Description: Open Source Social Network written in Ruby on Rail by Less Everything
Homepage: http://lovdbyless.com
Clone URL: git://github.com/tomlion/lovd-by-less.git
Adding instructions for you tube videos
stevenbristol (author)
Thu Apr 17 06:58:24 -0700 2008
commit  4cb2c586347be486fe9e0ede31e092a92ca2c850
tree    af3ce289b173657a8d14d780e59a2b7fb4602222
parent  04f4c52ccf2973babf31e5130c9fe1dc5a8d9941
...
26
27
28
 
29
30
31
32
 
33
34
35
...
26
27
28
29
30
31
32
33
34
35
36
37
0
@@ -26,10 +26,12 @@ blog ||= @blog
0
     <% end %>
0
     </div>
0
   
0
+
0
     
0
     <div id="<%= dom_id(blog) %>_new_comment" class="hidden">
0
       <% less_remote_form_for :comment, :url => blog_comments_path(blog), :html => { :id => "#{dom_id(blog)}_comment_form"} do |f| %>
0
         <%= f.text_area :comment %>
0
+ To include a youtube video use: [youtube: address_of_video]
0
         <div class="row button">
0
         <%= f.submit 'Add Comment', :class=>'button' %>
0
         <div class="clear"></div>
...
10
11
12
 
 
13
14
15
...
10
11
12
13
14
15
16
17
0
@@ -10,6 +10,8 @@ blog ||= @blog
0
   <% less_form_for [@profile, blog] do |f| %>
0
     <%= f.text_field :title %>
0
     <%= f.text_area :body %>
0
+
0
+ To include a youtube video use: [youtube: address_of_video]
0
    <div class="row button">
0
       <%= f.submit 'Save', :class=>'button' %>
0
     </div>
...
52
53
54
55
 
56
57
58
...
52
53
54
 
55
56
57
58
0
@@ -52,7 +52,7 @@ can_send = !@p.blank?
0
    <li><%= get_friend_link @p, @profile %></li>
0
    <%- if can_send -%>
0
    <li><%= inline_tb_link 'Direct Message', "new_direct_message", {:title => "New Message To #{h @profile.f}"}, {:height => 380} %></li>
0
- <li><%= inline_tb_link 'Leave a Comment', "new_comment", {:title => "Leaving A Comment On #{h @profile.f}'s Wall"}, {:heingt => 370, :width => 430} if @p %></li>
0
+ <li><%= inline_tb_link 'Leave a Comment', "new_comment", {:title => "Leaving A Comment On #{h @profile.f}'s Wall"}, {:height => 330, :width => 430} if @p %></li>
0
    <%- end -%>
0
    <%- if can_send && !me && @p.has_wall_with(@profile) -%>
0
    <li><%= link_to 'Our Wall-to-Wall', profile_comments_path(@profile) %></li>

Comments

    No one has commented yet.