Added plus/minus option.
This commit is contained in:
parent
8e91657fcd
commit
a324dad087
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
<label class="control-label" for="<%= @attribute.id %>"><%- @T( @attribute.display ) %><% if !@attribute.null: %> *<% end %></label>
|
||||
<div class="controls">
|
||||
<%- @item %><% if @attribute.note: %><span class="icon-question-sign" title="<%- @Ti( @attribute.note ) + ' ' %>"></span><% end %>
|
||||
<% if @attribute.remove: %><span><a href="#" class="icon-minus"></a></span><% end %>
|
||||
<% if @attribute.add: %><span><a href="#" class="icon-plus"></a></span><% end %>
|
||||
<span class="help-inline"></span>
|
||||
<span class="help-block"><% if @attribute.help: %><%- @T( @attribute.help ) + ' ' %><% end %><%- @attribute.link %></span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue