Nonactivated category cannot be reactived
This commit is contained in:
@@ -13,7 +13,12 @@
|
||||
<input type="hidden" name="_addon" value="kategori">
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
|
||||
<button type="submit">Nonaktifkan</button>
|
||||
<button type="submit"
|
||||
{% if cat.status != 1 %}
|
||||
disabled
|
||||
{% endif %}>
|
||||
Nonaktifkan
|
||||
</button>
|
||||
</form>
|
||||
</li><br>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user