Sha256: 70b578b34a4216c7c9046294d640829e56655a9df72ea899761951ca0c913a0f

Contents?: true

Size: 643 Bytes

Versions: 5

Compression:

Stored size: 643 Bytes

Contents

-box :class => 'alt first_alt' do
  = link_to :forums.l, forum_home_path
  %span.arrow →
  = link_to h(@forum.name), forum_path(@forum)
  %span.arrow →
  = :new_topic.l

-box do 
  %h3#new_topic= :new_topic.l
  %p.subtitle
    = :by.l :login => current_user.display_name
    
  = error_messages_for :topic
  = form_for @topic, :url  => forum_topics_path(@forum), :html => {:class => "MainForm"} do |f|
    = render :partial => "form", :object => f
    %p
      = submit_tag :post_topic.l
      = :or.l
      = link_to(:cancel.l, forum_path(@forum))

  -content_for :end_javascript do
    = javascript_tag "$('topic_title').focus();"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/topics/new.html.haml
community_engine-2.3.1 app/views/topics/new.html.haml
community_engine-2.3.0 app/views/topics/new.html.haml
community_engine-2.1.0 app/views/topics/new.html.haml
community_engine-2.0.0 app/views/topics/new.html.haml