Sha256: bfc34a34c201e75dc76454e3214701b17cb0b021d91947dd9f0f5dacb95d332d

Contents?: true

Size: 959 Bytes

Versions: 3

Compression:

Stored size: 959 Bytes

Contents

<form action='/upload/<%= pagename %>' method=post enctype=multipart/form-data >
<table>
	<tr><td>Title:</td><td>
	<% if page.is_a? ImagePage %>
		<input type=hidden name='titleprefix' value='Picture of ' />
		Picture of <input name='newtitle' size = '51' value='<%= pagename[ 10..-1].strip %>'  
	<% else %>
		<input type=hidden name='titleprefix' value='Attached ' />
		Attached <input name='newtitle' size = '52' value='<%= pagename[ 9..-1].strip %>' 
	<% end %>
	onClick="this.value == 'Type a title here' ? this.value = '' : true"/></td></tr>
	<tr><td valign='top'>File:</td><td><input name='file' type=file  /></td></tr>
	<tr><td>Author:</td><td><a href='/<%= person %>'><%= person %></a> Quit browser to log out.</td>
	<tr><td></td><td><input name=action value='Save' type=submit accesskey="S"> <a href='/<%= pagename %>' accesskey="C" >(Cancel)</a> or <a href='/delete/<%= pagename %>' accesskey='D'>(Delete)</a> this page.</td></tr>
	</table>
</form>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
Soks-0.0.3 templates/instiki/views/UploadPage_edit.rhtml
Soks-0.0.4 templates/instiki/views/UploadPage_edit.rhtml
Soks-0.0.5 templates/instiki/views/UploadPage_edit.rhtml