Sha256: 8245024fb499f6c2756a3ac85732eae29cc8f91c3c8b665d09b5181b03e5e214

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

- content_for :signals do
  = render :partial => 'readers/flasher'

- content_for :form do
  - form_for :topic, :url  => @forum ? forum_topics_path(@forum) : topics_path, :html => {:class => 'friendly', :multipart => true} do |f|
    = render :partial => "form", :object => f
    %p.buttons
      = submit_tag t('new_topic_button')
      or 
      - if @forum
        = link_to t('cancel'), forum_path(@forum)
      - else
        = link_to t('cancel'), :back

- content_for :title do
  = t('new_topic_heading')

- content_for :breadhead do
  = link_to t('forum'), forum_home_url
  = t('separator')
  - if @forum
    = link_to @forum.name, forum_url(@forum)
  
- content_for :controls do
  = render :partial => 'readers/controls'

- content_for :credits do
  %p
    = t('logged_in_as', :name => current_reader.name)
    = t('if_not_you')
    = link_to t('log_out'), reader_logout_url

- content_for :breadcrumbs do
  = link_to t('forum'), topics_url
  = t('separator')
  - if @forum
    = link_to @forum.name, forum_url(@forum)
    = t('separator')
  = t('new_topic')


#forum
  = yield :credits
  = yield :form

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-forum-extension-1.1.2 app/views/topics/new.html.haml
radiant-forum-extension-1.1.1 app/views/topics/new.html.haml
radiant-forum-extension-1.1.0 app/views/topics/new.html.haml