Sha256: c7d5d37c25efe96a924bd47a49f4c853b3e5c1914aaaf7d63d0ca275a8d59c3d

Contents?: true

Size: 1.21 KB

Versions: 13

Compression:

Stored size: 1.21 KB

Contents

<%= content_for :breadcrumbs do %>
  <%= breadcrumbs_for_discussion @discussion, @debatable %>
<% end %>

<%= form_for [@debatable, @discussion] do |f| %>
  <div>
    <div class="discussion-context">
      <%= render partial: 'exercises/read_only', locals: {exercise: @debatable} %>
    </div>
  </div>

  <hr class="message-divider">

  <%= render layout: 'discussions/message_container', locals: {user: @discussion.initiator} do %>
    <div class="discussion-message-bubble" id="new-discussion-description-container">
      <div class="discussion-message-bubble-header">
        <div class="discussion-message-bubble-title">
          <%= discussion_user_name @discussion.initiator %>
        </div>
      </div>
      <div class="discussion-message-bubble-content">
        <div class="container-fluid">
          <div class="row">
            <div class="discussion-new-message-content">
              <%= f.editor :description, '', {id: 'discussion-new-message', class: 'form-control', placeholder: t(:discussion_description_placeholder)} %>
            </div>
          </div>
        </div>
      </div>
    </div>
    <%= f.submit t(:save), class: 'btn btn-complementary w-100 discussion-new-message-button' %>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mumuki-laboratory-9.9.0 app/views/discussions/new.html.erb
mumuki-laboratory-9.8.2 app/views/discussions/new.html.erb
mumuki-laboratory-9.8.1 app/views/discussions/new.html.erb
mumuki-laboratory-9.8.0 app/views/discussions/new.html.erb
mumuki-laboratory-9.7.2 app/views/discussions/new.html.erb
mumuki-laboratory-9.7.1 app/views/discussions/new.html.erb
mumuki-laboratory-9.7.0 app/views/discussions/new.html.erb
mumuki-laboratory-9.6.0 app/views/discussions/new.html.erb
mumuki-laboratory-9.5.1 app/views/discussions/new.html.erb
mumuki-laboratory-9.5.0 app/views/discussions/new.html.erb
mumuki-laboratory-9.4.1 app/views/discussions/new.html.erb
mumuki-laboratory-9.4.0 app/views/discussions/new.html.erb
mumuki-laboratory-9.3.1 app/views/discussions/new.html.erb