Sha256: 7f68d7df353fbf27c621d0e2fc50da3b5c5889e99daa2bb658f0a524e57ad6d4

Contents?: true

Size: 1.07 KB

Versions: 24

Compression:

Stored size: 1.07 KB

Contents

<article id="new_file">
  <%= form_for(document) do |f| %>
    <%= f.hidden_field :owner_id %>

    <div class="error">
      <ul>
        <h4>
          <% document.errors.full_messages.each do |msg| %>
        </h4>
        <li>
          <h5>
            <%= msg %>
          </h5>
        </li>
        <% end %>
      </ul>
    </div>

    <section class="upload">
      <%= f.label :file, t('document.info.file') %>
      <%= f.file_field :file %>
    </section>
    <section class="title">
      <%= f.label :title, t('document.info.title') %>
      <%= f.text_field :title %>
    </section>
    <section class="description">
      <%= f.label :description, t('document.info.description') %>
      <%= f.text_area :description %>
    </section>
    <section class="tags">
      <%= f.label :tag_list, t('document.info.tags') %>
      <%= f.text_field :tag_list, 'data-path' => tags_path(format: 'json') %>
    </section>

    <%= f.submit :class => "btn" %>
  <% end %>

  <%= javascript_tag do %>
    $(function() {
      SocialStream.Document.edit();
    });
  <% end %>
</article>

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
social_stream-2.2.2 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.2.1 app/views/common_documents/_form.html.erb
social_stream-2.2.1 documents/app/views/common_documents/_form.html.erb
social_stream-2.2.0 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.2.0 app/views/common_documents/_form.html.erb
social_stream-2.1.1 documents/app/views/common_documents/_form.html.erb
social_stream-2.1.0 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.1.0 app/views/common_documents/_form.html.erb
social_stream-2.0.4 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.0.4 app/views/common_documents/_form.html.erb
social_stream-2.0.3 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.0.3 app/views/common_documents/_form.html.erb
social_stream-2.0.2 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.0.2 app/views/common_documents/_form.html.erb
social_stream-2.0.1 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.0.1 app/views/common_documents/_form.html.erb
social_stream-2.0.0 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.0.0 app/views/common_documents/_form.html.erb
social_stream-2.0.0.beta3 documents/app/views/common_documents/_form.html.erb
social_stream-documents-2.0.0.beta3 app/views/common_documents/_form.html.erb