Sha256: 02061eff1bf82d768d4f56550af1adb38358644a958bfb732ea7c8ef5c1798c2
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
<%= form_for private_topic, url: private_topics_path(@private_topic), html: { class: "thredded--form #{local_assigns[:css_class]}", 'data-thredded-topic-form' => true } do |form| %> <ul class="thredded--form-list on-top"> <li class="title"> <%= form.label :title, t('thredded.private_topics.form.title_label') %> <%= form.text_field :title, placeholder: placeholder, required: true %> </li> <li> <%= form.label :user_ids, t('thredded.private_topics.form.users_label') %> <%= form.text_field :user_ids, placeholder: t('thredded.private_topics.form.users_placeholder'), 'data-thredded-users-select' => true, 'data-autocomplete-url' => autocomplete_users_path, 'data-autocomplete-min-length' => Thredded.autocomplete_min_length %> </li> <%= render 'thredded/posts_common/form/content_field', form: form, content_label: t('thredded.private_topics.form.content_label') %> <li> <button type="submit" class="thredded--form--submit"> <%= t('thredded.private_topics.form.create_btn') %> </button> </li> </ul> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.8.4 | app/views/thredded/private_topics/_form.html.erb |
thredded-0.8.2 | app/views/thredded/private_topics/_form.html.erb |