Sha256: 2a4889aee8b927f45ccbe07e76c9cdcc27d01df44b1dbf0975f1fca74ad381b6

Contents?: true

Size: 833 Bytes

Versions: 1

Compression:

Stored size: 833 Bytes

Contents

<h2><%= @PAGE_TITLE = "Add Metadata" %></h2>

<%= simple_form_for :assets, url: metadata_a_assets_path, method: :put do |f| %>
    <% @assets.each do |asset| %>
        <div class="row">
        <%= f.simple_fields_for asset.id.to_s, asset do |af| %>
            <hr/>
            <div class="span3">
                <%= asset.image.tag(AssetHostCore.config.modal_size) %>
            </div>
            <div class="span5">
                <h3>Asset #<%=asset.id%></h3>
                <%= af.input :title %>
                <%= af.input :caption, as: :text, input_html: { rows: 3 }%>
                <%= af.input :owner %>
                <%= af.input :url %>
            </div>
            <br class="clear"/>
        <% end %>
        </div>
    <% end %>

    <%= f.submit "Update Metadata", class: "btn pull-right" %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta app/views/asset_host_core/admin/assets/metadata.html.erb