Sha256: 5d0aef9747089323f2dbbb4533bf35907e4744fae9228fa44310d15fb7162601

Contents?: true

Size: 848 Bytes

Versions: 2

Compression:

Stored size: 848 Bytes

Contents

  

  <%=form_for @media,:url => spud_admin_media_path(),:html=>{:class=>"form-horizontal", :multipart => true} do |f|%>
  <fieldset>
	  <legend>Upload Media</legend>
	  
	  <div class="form-group">
		  <%=f.label :attachment, "Choose File",:class =>"control-label col-sm-4"%>
      <div class="col-sm-8">
  		  <%=f.file_field :attachment%>
      </div>
	  </div>
	  
    <div class="form-group">
      <%= f.label :is_protected, 'Protected File', :class => 'control-label col-sm-4' %>
      <div class="col-sm-8">
        <%= f.check_box :is_protected %>
      </div>
    </div>

  <div class="form-group">
    <div class="col-sm-8 col-sm-offset-4">
      <%=f.submit "Upload", :class=>"btn btn-primary","data-loading-text"=>"Uploading..."%> or <%=link_to "cancel",spud_admin_media_path,:class => "btn"%>
    </div>
      
    </div>
  <%end%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spud_media-1.0.1 app/views/spud/admin/media/new.html.erb
spud_media-1.0.0 app/views/spud/admin/media/new.html.erb