Sha256: 7dea77cfcc2e873b3c2e03681343b0e0eb58dfdcf5f07529a483aad123d04c31

Contents?: true

Size: 1.87 KB

Versions: 8

Compression:

Stored size: 1.87 KB

Contents

= content_tag 'p', h(flash[:bad_reply]), :class => 'notice' if flash[:bad_reply]
.errors
= remote_form_for :post, @post, :url => sb_posts_path(:forum_id => @forum, :topic_id => @topic, :page => @topic.last_page), :html => {:class => "MainForm"}, :before => "$('editbox_spinner').show();tinyMCE.triggerSave()" do |f|
  %table{"cellspacing"=>"0", "border"=>"0", "cellpadding"=>"0", "width"=>"100%"}
    %tr
      %td{"rowspan"=>"2", "width"=>"60%"}
        = f.text_area :body, :style => "width: 99%; height: 300px;", :class => "rich_text_editor"
      - if !logged_in? && configatron.recaptcha_pub_key && configatron.recaptcha_priv_key 
        %td{"style"=>"vertical-align:top;"}
          %label{"for"=>"comment[author_name"}
            =:name.l
            %em="(#{:optional.l})"
          = f.text_field :author_name, :size => 35

          %label{"for"=>"comment[author_email"}
            ="#{:email.l}:"
            %em="(#{:comment_author_email_required.l})"
          = f.text_field :author_email, :size => 35        

          %label{"for"=>"comment[author_url"}
            =:comment_web_site_label.l
            %em="(#{:optional.l})"
          = f.text_field :author_url, :size => 35                  
        %td{"style"=>"vertical-align:top; text-align: center;padding-left: 20px;"}
          = recaptcha_tags :ajax => true
          %p
            = ajax_spinner_for "editbox", "spinner_black.gif"                    
            = submit_tag :save_reply.l
            =:or.l + " #{link_to_function :cancel.l, "$('reply').hide()"}"
      -else
        %td{"style"=>"vertical-align:top;"}
          %p
            = ajax_spinner_for "editbox", "spinner_black.gif"                    
            = submit_tag :save_reply.l
            ="#{:or.l} #{link_to_function :cancel.l, "$('reply').hide()"}".html_safe                  
    %tr
      %td{"style"=>"vertical-align: bottom; padding-bottom:15px;"}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/sb_posts/_reply_form.html.haml
community_engine-2.3.1 app/views/sb_posts/_reply_form.html.haml
community_engine-2.3.0 app/views/sb_posts/_reply_form.html.haml
community_engine-2.1.0 app/views/sb_posts/_reply_form.html.haml
community_engine-2.0.0 app/views/sb_posts/_reply_form.html.haml
community_engine-2.0.0.beta3 app/views/sb_posts/_reply_form.html.haml
community_engine-2.0.0.beta2 app/views/sb_posts/_reply_form.html.haml
community_engine-2.0.0.beta1 app/views/sb_posts/_reply_form.html.haml