Sha256: 940ddfa85acd9a7b42e316381c5247359e5a119d71cb67ac8deaa9a00326c205
Contents?: true
Size: 977 Bytes
Versions: 6
Compression:
Stored size: 977 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', 'data-disable-with' => @messageboard.persisted? ? t('thredded.messageboard.form.update_btn_submitting') : t('thredded.messageboard.form.create_btn_submitting') %> </li> </ul> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems