Added note label.
This commit is contained in:
parent
46ab669e1a
commit
d15c109740
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
<div class="control-group <%= @attribute.item_class %>">
|
<div class="control-group <%= @attribute.item_class %>">
|
||||||
<label class="control-label" for="<%= @attribute.id %>"><%- T(@attribute.display) %><% if !@attribute.null: %> *<% end %></label>
|
<label class="control-label" for="<%= @attribute.id %>"><%- T(@attribute.display) %><% if !@attribute.null: %> *<% end %>
|
||||||
|
</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%- @item %>
|
<%- @item %><% if @attribute.note: %><span class="icon-question-sign" title="<%- T(@attribute.note) + ' ' %>"></span><% end %>
|
||||||
<span class="help-inline"></span>
|
<span class="help-inline"></span>
|
||||||
<span class="help-block"><% if @attribute.help: %><%- T(@attribute.help) + ' ' %><% end %><%- @attribute.link %></span>
|
<span class="help-block"><% if @attribute.help: %><%- T(@attribute.help) + ' ' %><% end %><%- @attribute.link %></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue