Sha256: a4c0e4095b2c5e92c9a9b124103e4c7c7191bd5fdfa8ca3b4bd4c4a7e0d5ab7d

Contents?: true

Size: 977 Bytes

Versions: 4

Compression:

Stored size: 977 Bytes

Contents

<div class="modal-content">
  <div class="modal-header">
    <h4 class="modal-title"><%= title %></h4>
    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  </div>

  <div class="modal-flash">
    <%= render "trestle/flash/flash" %>
  </div>

  <div class="modal-tabs">
    <%= render "tabs", data: { controller: "tab-errors" } %>
  </div>

  <div class="modal-body">
    <%= yield %>

    <% if content_for?(:sidebar) %>
      <div id="tab-sidebar" class="tab-pane" role="tabpanel">
        <%= content_for(:sidebar) %>
      </div>
    <% end %>
  </div>

  <div class="modal-footer">
    <div class="btn-toolbar secondary-toolbar" role="toolbar">
      <%= render_toolbar(toolbar(:secondary)) %>
      <%= deprecated_toolbar(:secondary) %>
    </div>

    <div class="btn-toolbar primary-toolbar" role="toolbar">
      <%= render_toolbar(toolbar(:primary)) %>
      <%= deprecated_toolbar(:primary) %>
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.10.1 app/views/trestle/application/_modal.html.erb
trestle-0.10.0 app/views/trestle/application/_modal.html.erb
trestle-0.10.0.pre2 app/views/trestle/application/_modal.html.erb
trestle-0.10.0.pre app/views/trestle/application/_modal.html.erb