2010-10-28 03:05:12 +00:00
|
|
|
<p style="margin-top:100px;">Shorten URL -- <a href="/upload">Upload File</a></p>
|
2010-09-14 08:40:24 +00:00
|
|
|
<% formtext = "Type URL. Press Enter." %>
|
|
|
|
|
2010-09-14 04:02:57 +00:00
|
|
|
<form method="POST" action="/">
|
2010-09-14 08:40:24 +00:00
|
|
|
<input type="text" name="url" id="url" size="30" value="<%= formtext %>"
|
|
|
|
onfocus="if ( this.value=='<%= formtext %>' ) { this.value = ''; }"
|
2010-10-28 03:05:12 +00:00
|
|
|
onblur="if ( this.value=='' ) { this.value = '<%= formtext %>'; }"/><br/>
|
|
|
|
Embed as image? <input type="checkbox" name="image" />
|
2010-09-14 05:21:05 +00:00
|
|
|
<input type="hidden" value="<%= Shorten.button_text %>" id="create_url" />
|
2010-09-14 04:02:57 +00:00
|
|
|
</form>
|
2010-09-14 08:40:24 +00:00
|
|
|
|
2010-09-14 04:02:57 +00:00
|
|
|
<%= @information %>
|