Skip to content

Commit

Permalink
Checkboxes in table style
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Jan 23, 2024
1 parent 1c790d5 commit eb50c53
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions view/checklist.twig
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{% from '_macros' import renderError, renderTooltip %}
<div class="column {{ column is not empty ? column : 'is-full' }}">
<div class="field">
<div class="control">
<div class="label-with-tooltip">
<div class="label {{ labelsmall is not empty ? 'label-smaller' }}">
{%- if label is not empty -%}
{{ label }} {{ is_required ? '*' }}
{%- endif -%}
{{ renderTooltip(tooltip) }}
</div>
<div class="label-with-tooltip">
<div class="label {{ labelsmall is not empty ? 'label-smaller' }}">
{%- if label is not empty -%}
{{ label }} {{ is_required ? '*' }}
{%- endif -%}
{{ renderTooltip(tooltip) }}
</div>
</div>
<div class="control">
<div class="grouped-form-elements" id="{{ id }}">
{%- for choice in choices -%}
<label class="checkbox {{ labelsmall is not empty ? 'label-smaller' }}">
Expand Down
14 changes: 7 additions & 7 deletions view/textinput.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
{% else %}
<div class="field">
<div class="label-with-tooltip">
<label class="label {{ labelsmall is not empty ? 'label-smaller' }}" for="{{ id }}">
{%- if label is not empty -%}
{{ label }} {{ is_required ? '*' }}
{%- endif -%}
</label>
{{ renderTooltip(tooltip) }}
</div>
<label class="label {{ labelsmall is not empty ? 'label-smaller' }}" for="{{ id }}">
{%- if label is not empty -%}
{{ label }} {{ is_required ? '*' }}
{%- endif -%}
</label>
{{ renderTooltip(tooltip) }}
</div>
<div class="control">
<input
type="text"
Expand Down

0 comments on commit eb50c53

Please sign in to comment.