Sha256: 794f7d9eed37a688817ec939cc264373bac54eff163a67c0cf3bfa6de9d7e063

Contents?: true

Size: 627 Bytes

Versions: 3

Compression:

Stored size: 627 Bytes

Contents

<li class="content">
  <%= f.label :content %>
  <%= f.text_area :content, { rows: 5 }  %>
</li>

<%= f.fields_for :attachments do |attachment_form|  %>
  <li class="attachment">
    <%= attachment_form.file_field :attachment %>
    <%= attachment_form.link_to_remove 'Remove this attachment',
      { class: 'remove_attachment' } %>
  </li>
<% end %>

<li>
  <%= f.link_to_add 'Add an attachment', :attachments,
    { class: :add_attachment } %>
</li>

<li>
  <%= f.select :filter, Thredded::Post.filters, {} %>
  <a href="#pseudo-help"
    title="huh?"
    class="hide-for-small filter-help"
    id="filter-help">?</a>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thredded-0.0.4 app/views/thredded/posts/_form.html.erb
thredded-0.0.3 app/views/thredded/posts/_form.html.erb
thredded-0.0.1 app/views/thredded/posts/_form.html.erb