Sha256: 3733d8d60d5ae304db4946b998e2446f4c60b23bb8b5c76455a1e3de22bee17f
Contents?: true
Size: 1.17 KB
Versions: 17
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"), groups_path, :id => "list_all_button", :class => "button") %> <% end %> <%= form_for @group do |f| %> <%= f.cms_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, Cms::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
17 entries across 17 versions & 1 rubygems