2014-03-23 00:22:25 +00:00
|
|
|
<div class="wide box">
|
|
|
|
<%= form_for @directory do |f| %>
|
|
|
|
<div id="error_explanation">
|
|
|
|
<ul>
|
|
|
|
<% @directory.errors.full_messages.each do |msg| %>
|
|
|
|
<li><%= msg %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% if @directory.new_record? %>
|
|
|
|
<%= f.hidden_field :parent_id %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<p>
|
2020-04-01 02:00:53 +00:00
|
|
|
<b>Parent:</b> <%= @directory.parent.full_path %>
|
2014-03-23 00:22:25 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :name %><br />
|
|
|
|
<%= f.text_field :name %>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<%= f.label :hidden %><br />
|
|
|
|
<%= f.check_box :hidden %>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<%= f.submit %>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|