Sha256: 2e7168d73597d8143fef12909e35c9b227b15495ef68d007aef322425f96d349

Contents?: true

Size: 749 Bytes

Versions: 3

Compression:

Stored size: 749 Bytes

Contents

<h1><%= @datastream.pid %></h1>

<h3><%= t("fcrepo_admin.datastream.title") %>: <%= @datastream.dsid %></h3>

<%= 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>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fcrepo_admin-0.3.0 app/views/fcrepo_admin/datastreams/edit.html.erb
fcrepo_admin-0.2.4 app/views/fcrepo_admin/datastreams/edit.html.erb
fcrepo_admin-0.2.3 app/views/fcrepo_admin/datastreams/edit.html.erb