diff --git a/app/views/categories/_form.html.erb b/app/views/categories/_form.html.erb
index 06426988..dbfd76ae 100644
--- a/app/views/categories/_form.html.erb
+++ b/app/views/categories/_form.html.erb
@@ -35,6 +35,9 @@
<%= f.select :classification, [["Income", "income"], ["Expense", "expense"]], { label: "Classification" }, required: true %>
<%= f.text_field :name, placeholder: t(".placeholder"), required: true, autofocus: true, label: "Name", data: { color_avatar_target: "name" } %>
<%= f.select :parent_id, categories.pluck(:name, :id), { include_blank: "(unassigned)", label: "Parent category (optional)" }, disabled: category.parent? %>
+ <% if category.parent? %>
+ This category couldn’t be assigned as a subcategory because it already has subcategories.
+ <% end %>