Fixes #1104 - Re-adds enabled field to dashboard

This commit is contained in:
James Brooks
2015-11-07 11:29:44 +00:00
parent a70d9ce530
commit c89691cb2c
16 changed files with 28 additions and 1 deletions
@@ -56,6 +56,13 @@
<input name="component[tags]" class="form-control" value="{{ $component->tagsList }}">
<span class="help-block">{{ trans('forms.components.tags-help') }}</span>
</div>
<div class="checkbox">
<label>
<input type="hidden" value="0" name="component[enabled]">
<input type="checkbox" value="1" name="component[enabled]" {{ $component->enabled ? "checked" : null }}>
{{ trans('forms.components.enabled') }}
</label>
</div>
</fieldset>
<input type="hidden" name="component[user_id]" value="{{ $component->agent_id || $current_user->id }}">