Don't show display columns in the dashboard edit-item view

This commit is contained in:
Kevin MacMartin 2017-01-03 22:51:16 -05:00
parent 6e42a86ad2
commit d667c39af9

View file

@ -23,7 +23,7 @@
@if($column['type'] == 'hidden')
<input class="text-input" type="hidden" name="{{ $column['name'] }}" id="{{ $column['name'] }}" value="{{ $value }}" />
@else
@elseif($column['type'] != 'display' || $id != 'new')
<div class="col-xs-12 col-md-2">
<label for="{{ $column['name'] }}">{{ empty($column['label']) ? ucfirst($column['name']) : $column['label'] }}:</label>
</div>