Sha256: 929c4c617f09c8600ec9ce42e5dd2ea2ba504ec11af129e643b928cd4058a76e

Contents?: true

Size: 1.24 KB

Versions: 68

Compression:

Stored size: 1.24 KB

Contents

<div class="panel panel-default cdb_panel" id="thoughts-container">
  <div class="panel-heading">
    <h3 class="panel-title adjusted-panel-title">
      <a data-toggle="collapse" data-parent="#accordion" href="#thoughtsCollapse">
        Thoughts
      </a>
    </h3>
  </div>

  <div id="thoughtsCollapse" class="panel-collapse collapse in">
    <div class="panel-body">
      <div class="table-responsive div-table-viz">
        <table class="table table-hover data-table" id="thoughts">
          <thead>
          <tr>
            <th class="not-displayed"></th>
            <th>Thought</th>
            <th>Pattern</th>
            <th>Challenging Thought</th>
            <th>As If Action</th>
            <th>Date</th>
          </tr>
          </thead>
          <tbody>
          <%= render partial: "think_feel_do_engine/thoughts/thought", collection: @participant.thoughts %>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
  $(function() {
    return $('#thoughts').dataTable({
      order: [[5, 'desc']],
      columnDefs: [
        {
          targets: [0],
          visible: false
        },
        {
          targets: [5],
          orderData: [0]
        }
      ]
    });
  });
</script>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.14.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.3 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.14.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.13.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.13.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.3 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb
think_feel_do_engine-3.12.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_thoughts_table.html.erb