aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/resources/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/resources/_form.html.erb b/app/views/resources/_form.html.erb
index fe5f532..89745bd 100644
--- a/app/views/resources/_form.html.erb
+++ b/app/views/resources/_form.html.erb
@@ -29,7 +29,7 @@ La description _peut_ comporter du [Markdown].
<fieldset>
<%= tag.legend "Classification" %>
<%# TODO Add a taxonomy selector %>
- <%= section_select(current_agent.taxonomies.first) %>
+ <%= section_select(current_agent.taxonomies&.first || Taxonomy.first) %>
</fieldset>
<fieldset>