Sha256: 1188975fd4b507d5c6a72b384882260c8270a748b3240b42b45efc7c7af017bf
Contents?: true
Size: 1.11 KB
Versions: 16
Compression:
Stored size: 1.11 KB
Contents
<%= form_for messageboard, html: { class: 'thredded--form' } do |f| %> <ul class="thredded--form-list"> <li> <%= f.label t('thredded.messageboard.form.title_label') %> <%= f.text_field :name, required: true %> </li> <li> <%= f.label t('thredded.messageboard.form.description_label') %> <%= f.text_field :description %> </li> <li> <%= f.label t('thredded.messageboard.form.messageboard_group_id_label') %> <%= 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
16 entries across 16 versions & 1 rubygems