Sha256: 74f440897835e235901f8e8bfc8fdb6a31682c59b81799e1d489a0428daea5a0

Contents?: true

Size: 851 Bytes

Versions: 9

Compression:

Stored size: 851 Bytes

Contents

<div class="js- e-guide__component <%= view.wrapper_classes %>">
  <div class="<%= view.layout_css_classes[:parent] %>">
    <div class="e-guide__scenario <%= view.layout_css_classes[:scenario] %>">
      <% if view.uses_cells? %>
        <%= cell(view.cell, view.view_model).call %>
      <% else %>
        <% if view.format.to_sym == :text %>
          <pre>
        <% end %>
        <%= render partial: view.template, formats: [view.format],
          locals: { Guide.configuration.local_variable_for_view_model => view.view_model } %>
        <% if view.format.to_sym == :text %>
          </pre>
        <% end %>
      <% end %>
    </div>
  </div>
</div>

<% unless view.format == 'text' %>
  <div class="js- e-guide__translation-missing is-hidden">
    <h3>This is awkward. We have no translations for:</h3>
    <ul></ul>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
guide-0.8.0 app/views/guide/scenarios/_scenario.html.erb
guide-0.7.0 app/views/guide/scenarios/_scenario.html.erb
guide-0.6.1 app/views/guide/scenarios/_scenario.html.erb
guide-0.6.0 app/views/guide/scenarios/_scenario.html.erb
guide-0.5.0 app/views/guide/scenarios/_scenario.html.erb
guide-0.4.1 app/views/guide/scenarios/_scenario.html.erb
guide-0.4.0 app/views/guide/scenarios/_scenario.html.erb
guide-0.3.2 app/views/guide/scenarios/_scenario.html.erb
guide-0.3.1 app/views/guide/scenarios/_scenario.html.erb