conditional showing quick edit.
This commit is contained in:
parent
fe4aadef29
commit
1b35415699
|
@ -35,6 +35,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% if show_form_status_field(@bulletin)%>
|
||||
<div id="widget-status">
|
||||
<div class="control-group">
|
||||
<label class="control-label"><%= t(:status) %></label>
|
||||
|
@ -45,6 +46,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end -%>
|
||||
<div id="widget-role">
|
||||
<div class="control-group">
|
||||
<label class="control-label">Role</label>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% if news_show_form_status_field(@news_bulletin)%>
|
||||
<div id="widget-status">
|
||||
<div class="control-group">
|
||||
<label class="control-label"><%= t(:status) %></label>
|
||||
|
@ -45,6 +46,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end -%>
|
||||
|
||||
<div id="widget-role">
|
||||
<div class="control-group">
|
||||
<label class="control-label">Role</label>
|
||||
|
|
Loading…
Reference in New Issue