Sha256: 4fd7462093807d6e638dd7162b448ab564a55b6e3f7fc6669977854cf5122559
Contents?: true
Size: 731 Bytes
Versions: 59
Compression:
Stored size: 731 Bytes
Contents
%h1 New discussion - include_ckeditor = form_for [@forum, @discussion] do |f| -if @discussion.errors.any? #errorExplanation %h2= "#{pluralize(@discussion.errors.count, "error")} prohibited this discussion from being saved:" %ul - @discussion.errors.full_messages.each do |msg| %li= msg %ul.form_fields %li.field = f.label :subject = f.text_field :subject = f.hidden_field :forum_id %li.field = f.fields_for :new_message, @new_message do |ff| = ff.hidden_field :author_id %ul.form_fields %li.field= ff.text_area :message, :class=>'ckeditor_textarea' .actions = f.submit 'Create new discussion' = link_to 'Back', collection_url
Version data entries
59 entries across 59 versions & 1 rubygems