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