add support for searching for dup-related flags

This commit is contained in:
r888888888
2017-04-21 13:50:44 -07:00
parent 24154af54b
commit d9ea925f4e
6 changed files with 21 additions and 4 deletions

View File

@@ -4,12 +4,17 @@
- input_name
- preview_id
- value
- type
-->
<div class="input text optional <%= classes %>">
<label class="text optional" for="<%= input_id %>"><%= name %></label>
<div class="dtext-previewable">
<textarea id="<%= input_id %>" class="text optional" rows="20" name="<%= input_name %>" cols="30"><%= value %></textarea>
<% if type == "text" %>
<textarea id="<%= input_id %>" class="text optional" rows="20" name="<%= input_name %>" cols="30"><%= value %></textarea>
<% else %>
<input type="text" id="<%= input_id %>" class="text optional" name="<%= input_name %>" value="<%= value %>">
<% end %>
<div id="<%= preview_id %>" class="dtext-preview prose"></div>
</div>
<span class="hint">All text is formatted using <%= link_to "DText", wiki_pages_path(:title => "help:dtext"), :target => "_blank" %></span>