Sha256: 82fb445a58ec2babc10fdc680bb13995fa1d24e87a3a61b6c82acbb649e37106

Contents?: true

Size: 927 Bytes

Versions: 2

Compression:

Stored size: 927 Bytes

Contents

<table class="table table-bordered">
  <thead  class="thead-dark">
    <tr>
      <th scope="col">Attribute</th>
      <th scope="col">Value</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <th scope="row">Id</th>
      <td><%= @event.id %></td>
    </tr>

    <tr>
      <th scope="row">Type</th>
      <td><%= @event.event_type %></td>
    </tr>

    <tr>
      <th scope="row">Aggregate Id</th>
      <td><%= @event.aggregate_id %></td>
    </tr>

    <tr>
      <th scope="row">Sequence Number</th>
      <td><%= @event.sequence_number %></td>
    </tr>

    <tr>
      <th scope="row">Command</th>
      <td><%= link_to @event.command_record.command_type, command_path(@event.command_record) %></td>
    </tr>

    <tr>
      <th scope="row">JSON</th>
      <td>
        <code>
          <%= simple_format JSON.pretty_generate(JSON.parse @event.event_json) %>
        </code>
      </td>
    </tr>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sequent-rails-0.1.1 app/views/sequent/events/show.html.erb
sequent-rails-0.1.0 app/views/sequent/events/show.html.erb