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