Sha256: 27d8543d1bb2287b62a8d47286426534e29b2026d46c8c633618da97a90b5ab7

Contents?: true

Size: 741 Bytes

Versions: 10

Compression:

Stored size: 741 Bytes

Contents

<%= form_for messageboard, html: { class: 'thredded--form' } do |f| %>
  <ul class="thredded--form-list">
    <li>
      <%= f.label :name %>
      <%= f.text_field :name, required: true %>
    </li>
    <li>
      <%= f.label :description %>
      <%= f.text_field :description %>
    </li>
    <li>
      <%= f.label :messageboard_group_id %>
      <%= f.collection_select :messageboard_group_id, Thredded::MessageboardGroup.all, :id, :name,
                              include_blank: t('thredded.messageboard.form.no_group') %>
    </li>
    <li><%= f.submit @messageboard.persisted? ? t('thredded.messageboard.update') : t('thredded.messageboard.create'),
                     class: 'thredded--form--submit' %></li>
  </ul>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
thredded-0.8.4 app/views/thredded/messageboards/_form.html.erb
thredded-0.8.2 app/views/thredded/messageboards/_form.html.erb
thredded-0.7.0 app/views/thredded/messageboards/_form.html.erb
thredded-0.6.3 app/views/thredded/messageboards/_form.html.erb
thredded-0.6.2 app/views/thredded/messageboards/_form.html.erb
thredded-0.6.1 app/views/thredded/messageboards/_form.html.erb
thredded-0.6.0 app/views/thredded/messageboards/_form.html.erb
thredded-0.5.1 app/views/thredded/messageboards/_form.html.erb
thredded-0.5.0 app/views/thredded/messageboards/_form.html.erb
thredded-0.4.0 app/views/thredded/messageboards/_form.html.erb