This ensures that the text and the close icon don't overlap, regardless of the length of the title. The title div grows to use all available space, while ensuring the text breaks if necessary to prevent it from pushing the close icon offscreen.
15 lines
644 B
Text
15 lines
644 B
Text
<% set_title(t("browse.note.new_note")) %>
|
|
|
|
<%= render "sidebar_header", :title => t("browse.note.new_note") %>
|
|
|
|
<div class="note browse-section">
|
|
<p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
|
|
<form action="#" class="standard-form">
|
|
<input type="hidden" name="lon">
|
|
<input type="hidden" name="lat">
|
|
<textarea class="comment" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
|
|
<div class="buttons clearfix">
|
|
<input type="submit" name="add" value="<%= t("javascripts.notes.new.add") %>" disabled="1">
|
|
</div>
|
|
</form>
|
|
</div>
|