bug en post edit con el preview

This commit is contained in:
Daniel Cortés
2019-10-17 08:05:43 -03:00
parent 2fcbf51071
commit e67473b3c5

View File

@@ -19,7 +19,7 @@
<textarea id="md" name="md">{{ old('md', $post->md) }}</textarea>
<label for="published">
<input type="checkbox" id="published" name="published" value="{{ old('published', $post->is_published) }}"/>
<input type="checkbox" id="published" name="published" {{ old('published', $post->is_published) ? 'checked' : '' }}/>
Published
</label>