Sha256: 4b06304d4b32eca4ebd08abb8f1a2e95ec4ad5564d17d8c9f5db516064972262

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

<% @page_title = "create gallery by files in server" %>

<% content_for 'tasks' do %>
  <li>
    <%= link_to 'List of Galleries', admin_galleries_url %>
  </li>
<% end %>

<h2>Manage galleries</h2>

<%= error_messages_for :gallery %>
<%= flash_notice %>

<h3>Create gallery by files in server</h3>

<% form_for('gallery', :url => {:action => 'mass_upload'}, :html => {:id => 'mass_upload'}) do |f| %>
  <fieldset class="set admin" style="display: block;">
    <ul>
      <li>
        <label class="block" >Directory on server where are all pictures</label>
        <%= text_field_tag :directory,{}, {:style => "width: 100%;"}%>
      </li>
      <li class="r">
      <%= f.submit 'Add gallery &#187;', {:class=>'submit', :id => 'mass_upload_submit'} %>
      </li>
    </ul>
  </fieldset>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pictrails-0.5.0 app/views/admin/galleries/new_by_mass_upload.html.erb