Sha256: e14fc2ad105ab9a56b7707cb010c68cb92d1878970c2e4f1d5f54e4f1c52eb2c

Contents?: true

Size: 770 Bytes

Versions: 7

Compression:

Stored size: 770 Bytes

Contents

<% content_for :header_tags do %>
  <%= stylesheet_link_tag '/plugin_assets/chili_presentations/stylesheets/forms' %>
<% end %>

<h2>Upload project presentation...</h2>

<%= error_messages_for 'presentation' %>

<% labelled_tabular_form_for :presentation, @presentation, :url => project_presentations_path(@project), :html => {:id => 'presentation-upload', :class => 'tabular', :multipart => true} do |f| %>
  <div class="box">
    <%= render :partial => 'shared_form', :locals => {:f => f, :versions => @versions} %>

    <p>
      <%= f.file_field :contents, :label => 'Select file to upload', :required => true %>
    </p>
  </div>

  <input type="submit" value="Upload Presentation" />
  or
  <%= link_to "Cancel", project_presentations_path(@project) %>
<%- end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chili_presentations-0.2.2 app/views/presentations/new.html.erb
chili_presentations-0.2.1 app/views/presentations/new.html.erb
chili_presentations-0.2.0 app/views/presentations/new.html.erb
chili_presentations-0.1.3 app/views/presentations/new.html.erb
chili_presentations-0.1.2 app/views/presentations/new.html.erb
chili_presentations-0.1.1 app/views/presentations/new.html.erb
chili_presentations-0.1.0 app/views/presentations/new.html.erb