Sha256: 847abb5cb94a7c7940e157498f067fa6d1cc5fe335680936c8bc806e0d9790d6

Contents?: true

Size: 1.37 KB

Versions: 13

Compression:

Stored size: 1.37 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">
          <%= t('thredded.private_topics.form.update_btn') %>
        </button>
      </li>
    </ul>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
thredded-0.8.4 app/views/thredded/private_topics/edit.html.erb
thredded-0.8.2 app/views/thredded/private_topics/edit.html.erb
thredded-0.7.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.6.3 app/views/thredded/private_topics/edit.html.erb
thredded-0.6.2 app/views/thredded/private_topics/edit.html.erb
thredded-0.6.1 app/views/thredded/private_topics/edit.html.erb
thredded-0.6.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.5.1 app/views/thredded/private_topics/edit.html.erb
thredded-0.5.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.4.0 app/views/thredded/private_topics/edit.html.erb
thredded-0.3.2 app/views/thredded/private_topics/edit.html.erb
thredded-0.3.1 app/views/thredded/private_topics/edit.html.erb
thredded-0.3.0 app/views/thredded/private_topics/edit.html.erb