Replace single-line inputs with textareas in non-JS mode.
[Sone.git] / src / main / resources / templates / include / updateStatus.html
1 <form id="update-status" action="createPost.html" method="post">
2         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
3         <input type="hidden" name="returnPage" value="<% request.uri|html>" />
4         <label for="sender"><%= Page.Index.Label.Sender|l10n|html></label>
5         <div class="sender">
6                 <select name="sender" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">
7                         <%foreach localSones localSone|sort>
8                                 <option value="<% localSone.id|html>"<%if localSone.current> selected="selected"<%/if>><% localSone.niceName|html></option>
9                         <%/foreach>
10                 </select>
11         </div>
12         <div class="select-sender"><button type="button" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">+</button></div><label for="text"><%= Page.Index.Label.Text|l10n|html></label>
13         <textarea class="rip-out status-input" name="text"></textarea>
14         <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
15 </form>