Sha256: 4965d83fc68fccd7804ad971708d469fe5a7a6816a71dc3416e00ebf9d01bb78

Contents?: true

Size: 777 Bytes

Versions: 11

Compression:

Stored size: 777 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="control-group">
		  <%=f.label :attachment, "Choose File",:class =>"control-label"%>
      <div class="controls">
  		  <%=f.file_field :attachment%>
      </div>
	  </div>
	  
    <div class="control-group">
      <%= f.label :is_protected, 'Protected File', :class => 'control-label' %>
      <div class="controls">
        <%= f.check_box :is_protected %>
      </div>
    </div>

  <div class="form-actions">
      <%=f.submit "Upload", :class=>"btn btn-primary","data-loading-text"=>"Uploading..."%> or <%=link_to "cancel",spud_admin_media_path,:class => "btn"%>
    </div>
  <%end%>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
spud_media-1.0.0.rc1.1 app/views/spud/admin/media/new.html.erb
spud_media-1.0.0.rc1 app/views/spud/admin/media/new.html.erb
spud_media-0.9.7 app/views/spud/admin/media/new.html.erb
spud_media-0.9.6 app/views/spud/admin/media/new.html.erb
tb_media-1.0 app/views/spud/admin/media/new.html.erb
spud_media-0.9.5 app/views/spud/admin/media/new.html.erb
spud_media-0.9.4 app/views/spud/admin/media/new.html.erb
spud_media-0.9.3 app/views/spud/admin/media/new.html.erb
spud_media-0.9.2 app/views/spud/admin/media/new.html.erb
spud_media-0.9.1 app/views/spud/admin/media/new.html.erb
spud_media-0.9.0 app/views/spud/admin/media/new.html.erb