Skip to content

Commit

Permalink
added hierarchy to feed's parent selector [#170 state:open]
Browse files Browse the repository at this point in the history
  • Loading branch information
zr2d2 committed Aug 8, 2011
1 parent 550c24e commit c4c1c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/feeds/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="field">
<%= f.label t(:parent) %>
<div class="inputs">
<%= f.text_field :parent_id %>
<%= f.select :parent_id, dfs_tree(Feed.roots).collect{|c| [raw("&nbsp;&nbsp;")* c.depth + c.name, c.id ]}, {:include_blank => true } %>
</div>
</div>
<div class="field">
Expand Down

0 comments on commit c4c1c87

Please sign in to comment.