Skip to content

Commit

Permalink
Merge pull request #2716 from carlcs/patch-4
Browse files Browse the repository at this point in the history
Blank column type for Craft.EditableTable
  • Loading branch information
brandonkelly authored Apr 10, 2018
2 parents 15d4e7c + 61b1846 commit 716ee03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templates/_includes/forms/editableTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
{% set value = cell.value is defined ? cell.value : cell %}
{% if col.type == 'heading' %}
<th scope="row" class="{{ cell.class ?? col.class ?? '' }}">{{ value|raw }}</th>
{% elseif col.type == 'html' %}
<td class="{{ cell.class ?? col.class ?? '' }}">{{ value|raw }}</td>
{% else %}
{% set hasErrors = cell.hasErrors ?? false %}
{% set cellName = name~'['~rowId~']['~colId~']' %}
Expand Down

0 comments on commit 716ee03

Please sign in to comment.