<h4>Program Particpation by Learning Outcome</h4>
<table class="table table-striped table-condensed">
    <thead>
        <th>Learning Outcome</th>
        <th>Undergraduate Programs doing Assessment</th>
        <th>Undergraduate Programs Achieved</th>
        <th>Undergraduate Success Rate</th>
    </thead>
    <tbody>
        @foreach($outcomes as $outcome)
            <tr>
                <td>{{ link_to_action('OutcomesController@show', $outcome->name, array($outcome->id), $attributes = array()) }}</td>
                <td>{{{ $attemptedUndergradProgramsPerOutcome[$outcome->id] }}}</td>
                <td>{{{ $achievedUndergradProgramsPerOutcome[$outcome->id] }}}</td>
                <td>
                    @if($attemptedUndergradProgramsPerOutcome[$outcome->id]!=0)
                        {{{ round($achievedUndergradProgramsPerOutcome[$outcome->id] / $attemptedUndergradProgramsPerOutcome[$outcome->id]*100, 2) }}}%
                    @else
                        N/M
                    @endif
                </td>
            </tr>
        @endforeach
    </tbody>
    <tfoot></tfoot>
    <caption>N/M: Not Measured</caption>
</table>