Sha256: 6a93ea7c9dae3717185efc1b8a7a44de70d471a51cc4a3016ecadad3764e9e52

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

Stored size: 1.01 KB

Contents

<%=
    if vector.respond_to?( :html ) && !vector.html.to_s.empty?
        code_highlight( vector.html, :html, anchor_id: "#{id}-vector-source" )
    end
%>

<table class="table">
    <tr>
        <th>Type</th>
        <th>In</th>
        <th>Action</th>

        <% if vector.respond_to? :inputs %>
        <th>Default inputs</th>
        <th>Updated inputs</th>
        <% end %>
    </tr>
    <tr>
        <td><code><%= vector.type %></code></td>
        <td>
            <a href="<%= escapeHTML vector.url %>">
                <%= escapeHTML vector.url %>
            </a>
        </td>
        <td>
            <a href="<%= escapeHTML vector.action %>">
                <%= escapeHTML vector.action %>
            </a>
        </td>

        <% if vector.respond_to? :inputs %>
        <td>
            <%= erb 'shared/hash.erb', object: vector.default_inputs, code: true %>
        </td>
        <td>
            <%= erb 'shared/hash.erb', object: vector.inputs, code: true %>
        </td>
        <% end %>
    </tr>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 components/reporters/html/default/issue/vector.erb
arachni-1.0.5 components/reporters/html/default/issue/vector.erb
arachni-1.0.4 components/reporters/html/default/issue/vector.erb
arachni-1.0.3 components/reporters/html/default/issue/vector.erb
arachni-1.0.2 components/reporters/html/default/issue/vector.erb
arachni-1.0.1 components/reporters/html/default/issue/vector.erb
arachni-1.0 components/reporters/html/default/issue/vector.erb