app/views/fcrepo_admin/datastreams/edit.html.erb in fcrepo_admin-0.3.1 vs app/views/fcrepo_admin/datastreams/edit.html.erb in fcrepo_admin-0.3.2
- old
+ new
@@ -1,15 +1,9 @@
-<%= form_tag fcrepo_admin.object_datastream_path(@datastream.pid, @datastream.dsid), :method => :put, :multipart => true do %>
- <div>
- <%= label_tag "file", t("fcrepo_admin.datastream.edit.file") %>
- <%= file_field_tag "file" %>
- </div>
- <% if @inline %>
- <div>
- <%= label_tag "content", t("fcrepo_admin.datastream.edit.content") %>
- <%= text_area_tag "content", @datastream.content, :size => "50x20", :class => "field span9" %>
- </div>
- <% end %>
- <p>
- <%= submit_tag t("fcrepo_admin.datastream.edit.submit"), :confirm => t("fcrepo_admin.datastream.edit.confirm"), :class => "btn btn-primary" %>
- </p>
+<h4><%= t("fcrepo_admin.datastream.edit.header") %></h4>
+<%= form_tag fcrepo_admin.object_datastream_path(@datastream.pid, @datastream.dsid), :method => :put do %>
+<div>
+ <%= text_area_tag "content", @datastream.content, :size => "50x20", :class => "field", :style => "width: 100%" %>
+</div>
+<p>
+ <%= submit_tag t("fcrepo_admin.datastream.edit.submit"), :confirm => t("fcrepo_admin.datastream.edit.confirm"), :class => "btn btn-primary" %>
+</p>
<% end %>