Sha256: 6bfc9db02fa5bea98794f64a8293a64929969828d3191698f2ce136d0b1ccab7

Contents?: true

Size: 1.47 KB

Versions: 6

Compression:

Stored size: 1.47 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, 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 %>
  <%= 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 %>
      </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 %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thredded-0.10.1 app/views/thredded/private_topics/edit.html.erb
thredded-0.10.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.9.4 app/views/thredded/private_topics/edit.html.erb
thredded-0.9.3 app/views/thredded/private_topics/edit.html.erb
thredded-0.9.2 app/views/thredded/private_topics/edit.html.erb
thredded-0.9.1 app/views/thredded/private_topics/edit.html.erb