Sha256: 1cd9ab20ae0f280f28274036f2cbda41797aa7c41e9660bd384135a8107ff3d4
Contents?: true
Size: 823 Bytes
Versions: 3
Compression:
Stored size: 823 Bytes
Contents
%p.title = form.label :name, 'Discussion title', :class => 'required' %br = form.text_field :name, :class => 'titular' - if admin? %br %span.quiet = form.check_box :sticky %label{:for => 'topic_sticky', :class => 'admin'} Sticky = form.check_box :locked %label{:for => 'topic_locked', :class => 'admin'} Locked %p.body = form.label :name, 'Opening message' %br = form.text_area :body, :class=> 'standard', :rows => 12 - unless @topic.page && !Radiant::Config['forum.comments_have_attachments'] = render :partial => 'posts/uploader', :locals => {:post => @topic.first_post} - if @topic.new_record? || admin? %p.forum = form.label :forum_id, 'File in category:' %br = form.select :forum_id, Forum.visible.collect {|f| [ f.name, f.id ] }, :class=> 'standard'
Version data entries
3 entries across 3 versions & 1 rubygems