3 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: 'forms'}) }}" title="{{ 'Forms'|t }}">
4 <img width="21" height="28" alt="{{ 'Forms'|t }}"
5 src="data:image/png;base64,{{ collector.icon }}">
6 <span class="sf-toolbar-info-piece-additional sf-toolbar-status">{{ collector.getFormsCount }}</span>
11 <div class="sf-toolbar-info-piece">
12 {% for keys, form in collector.getForms %}
14 <div><a href="{{ idelink(form.class.file, form.class.line)|raw }}">{{ abbr(form.class.class)|raw }}
15 ::{{ form.class.method }}</a></div>
21 <div class="sf-toolbar-block">
22 <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
23 <div class="sf-toolbar-info">{{ text|default('') }}</div>
28 <script id="forms" type="text/template">
29 <h2 class="panel__title">{{ 'Forms'|t }}</h2>
30 <% if( data.forms && data.forms.length != 0){ %>
31 <% _.each( data.forms, function( item, key ){ %>
32 <div class="panel__container">
34 <ul class="list--inline">
35 <li><b>ID</b> <%= key %></li>
36 <li><b>class</b> <%= Drupal.webprofiler.helpers.classLink(item.class) %></li>
39 <table class="table--compact">
42 <th>{{ 'form'|t }}</th>
43 <th>{{ 'title'|t }}</th>
44 <th>{{ 'access'|t }}</th>
45 <th>{{ 'type'|t }}</th>
49 <% _.each( item.form, function( value , key ){ %>
52 <td><% if(value['#title'] == null ){ %> {{ '-' }} <% } else { %> <%= value['#title'] %><% } %></td>
53 <td><% if(value['#access'] == null ){ %> {{ 'null' }} <% } else { %> <%= value['#access'] %><% } %></td>
54 <td><% if(value['#type'] == null ){ %> {{ 'null' }} <% } else { %> <%= value['#type'] %><% } %></td>
62 <div class="panel__container">
63 <p>{{ 'No results'|t }}</p>