This patch makes changes the button markup in lists templates so that all submit buttons and any buttons that should should be styled as primary buttons have the Bootstrap class "btn btn-primary." To test, apply the patch and view lists pages to confirm that everything looks correct. In most cases there are no visible changes. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
18 lines
467 B
Text
18 lines
467 B
Text
<form><table><caption>Merge</caption>
|
|
[% FOREACH field IN fields %]
|
|
<tr>
|
|
<td>[% field.from | html %]</td>
|
|
<td>[% field.tag | html %] <input type="checkbox" name="selected_field" value="[% field.id | html %]">
|
|
</td>
|
|
<td><dl>
|
|
[% FOREACH subfield IN field.subfields %]
|
|
<dt>[% subfield.key | html %]</dt>
|
|
<dd>[% subfield.value | html %]</dd>
|
|
[% END %]
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
<input type="submit" class="btn btn-primary" value="selection" />
|
|
</form>
|