Sha256: 06f6e308156319a926f7c8027a5f09d9f4e0d3fafef7757442888847e5c9168e

Contents?: true

Size: 1.67 KB

Versions: 20

Compression:

Stored size: 1.67 KB

Contents

<% content_for :thredded_page_title, t('thredded.nav.edit_private_topic') %>
<% content_for :thredded_page_id, 'thredded--edit-private-topic' %>
<% content_for :thredded_breadcrumbs do %>
  <ul class="thredded--navigation-breadcrumbs">
    <li><%= link_to t('thredded.nav.all_messageboards'), messageboards_path %></li>
    <li><%= link_to t('thredded.nav.private_topics'), private_topics_path %></li>
    <li><%= link_to @private_topic.title_was || @private_topic.title, topic_path(@private_topic) %></li>
    <li><%= link_to t('thredded.nav.edit_private_topic'), edit_private_topic_path(@private_topic) %></li>
  </ul>
<% end %>


<%= thredded_page do %>
  <section class="thredded--main-section">
    <%= form_for @private_topic,
                 url: private_topic_path(@private_topic),
                 html: { class: 'thredded--form', '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: t('thredded.private_topics.form.title_placeholder_new'),
                              autofocus: true,
                              required: true %>
          <%= render 'thredded/shared/field_errors', messages: form.object.errors[:title] %>
        </li>
        <li>
          <button type="submit" class="thredded--form--submit"
                  data-disable-with="<%= t 'thredded.private_topics.form.update_btn_submitting' %>">
            <%= t('thredded.private_topics.form.update_btn') %>
          </button>
        </li>
      </ul>
    <% end %>
  </section>
<% end %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
thredded-1.1.0 app/views/thredded/private_topics/edit.html.erb
thredded-1.0.1 app/views/thredded/private_topics/edit.html.erb
thredded-1.0.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.16 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.15 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.14 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.13 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.12 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.11 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.10 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.9 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.8 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.7 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.6 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.5 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.4 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.3 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.1 app/views/thredded/private_topics/edit.html.erb
thredded-0.16.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.15.5 app/views/thredded/private_topics/edit.html.erb