Sha256: ad6d0aa575283a1eb7ff25e0cef11d429c2d8b2d90204888adaa7e92f38016ed
Contents?: true
Size: 1.17 KB
Versions: 32
Compression:
Stored size: 1.17 KB
Contents
<% content_for :html_head do %> <%= stylesheet_link_tag('cms/form_layout') %> <style type="text/css"> .checkbox_group .checkboxes .instructions { padding-bottom: 10px; } </style> <% javascript_tag do %> jQuery(function($) { $('#group_group_type_id').selectbox(); }); <% end %> <% end %> <% content_for :functions do %> <%= link_to(span_tag("List All"), cms_groups_path, :id => "list_all_button", :class => "button") %> <% end %> <% form_for [:cms, @group] do |f| %> <%= f.error_messages %> <div class="fields text_fields"> <%= f.label :name, "Group Name" %> <%= f.text_field :name %> </div> <% unless @group.guest? %> <div class="fields select_fields"> <%= f.label :group_type_id, "Type of User" %> <div><%= f.select :group_type_id, GroupType.non_guest.map { |g| [g.name, g.id] } %></div> <div class="instructions">What kind of user does this group represent?</div> <br clear="all" /> </div> <% end %> <%= render :partial => 'permissions' %> <%= render :partial => 'sections' %> <div class="buttons"> <%= lt_button_wrapper(f.submit("Save", :class => "submit")) %> </div> <% end %>
Version data entries
32 entries across 32 versions & 10 rubygems