Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F887658
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Aug 10, 3:24 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Tue, Aug 12, 3:24 AM (5 h, 42 m)
Engine
blob
Format
Raw Data
Handle
246369
Attached To
rARCHIVING archiving
View Options
diff --git a/app/views/filesets/_form.html.erb b/app/views/filesets/_form.html.erb
index b909bd2..6b9d95f 100644
--- a/app/views/filesets/_form.html.erb
+++ b/app/views/filesets/_form.html.erb
@@ -1,19 +1,22 @@
<%= bootstrap_form_for(@fileset, url: url, method: method, layout: :horizontal,
label_col: 'col-xs-3', control_col: 'col-xs-8') do |f| %>
<div>
<%= f.text_field :name %>
<% @fileset.include_directions['file'].each do |file| %>
<%= text_with_errors_and_plus(@fileset, :fileset, :include_files, 'Files', '/', file) %>
<% end %>
- <%= text_with_errors_and_plus(@fileset, :fileset, :exclude_directions, 'Exclude', '/a_restore_location') %>
+ <hr />
+ <% @fileset.exclude_directions.each do |file| %>
+ <%= text_with_errors_and_plus(@fileset, :fileset, :exclude_directions, 'Exclude', '/an_exluded_dir', file) %>
+ <% end %>
<%= (hidden_field_tag :job_id, @job_id) if @job_id%>
</div>
<div class="form-group">
<div class="col-xs-offset-3 col-xs-8">
<%= f.submit class: 'btn btn-success' %>
</div>
</div>
<% end %>
Event Timeline
Log In to Comment