obsolete.ChilliProject/app/views/queries/_form.rhtml

16 lines
448 B
Plaintext

<%= error_messages_for 'query' %>
<div class="box">
<div class="tabular">
<p><label for="query_name"><%=l(:field_name)%></label>
<%= text_field 'query', 'name', :size => 80 %></p>
<% if current_role.allowed_to?(:manage_pulic_queries) %>
<p><label for="query_is_public"><%=l(:field_is_public)%></label>
<%= check_box 'query', 'is_public' %></p>
<% end %>
</div>
<%= render :partial => 'queries/filters', :locals => {:query => query}%>
</div>