Quick-add content into the current universe scope if it exists

This commit is contained in:
Andrew Brown 2016-11-02 14:35:13 +01:00
parent 07c372eb01
commit fbc68af450

View File

@ -54,6 +54,7 @@
<%= f.label "Quick-add a #{content_type.name} by name", class: 'active' %>
<%= f.text_field :name %>
</div>
<%= f.hidden_field :universe_id, value: (@universe_scope ? @universe_scope.id : nil) %>
<div class="col s12 m3">
<%= f.button 'Quick-add',