Sha256: 19916cc6b977727f353cc23b68d762bf0b067f8847f945d0ace628fad0399624
Contents?: true
Size: 1.78 KB
Versions: 10
Compression:
Stored size: 1.78 KB
Contents
<% content_for :javascript do %> $(function() { $(".new_group").validate(); }); $("#group__participants").fcbkcomplete({ json_url: "<%= contacts_path(:format => :json) %>", cache: true, filter_hide: true, newel: false, height: 6 }); <% end %> <%= location( link_to(image_tag("btn/btn_group.png", :class => "menu_icon")+t('group.other'), groups_path), link_to(image_tag("btn/btn_group.png", :class => "menu_icon")+t('group.new.action'), new_group_path) ) %> <div class="space_center"></div> <%= form_for @group do |f| %> <% f.object._contact_id ||= current_subject.ego_contact.id %> <%= f.hidden_field :_contact_id %> <% if @group.errors.any? %> <div id="notice"> <h2><%= pluralize(@group.errors.count, "error") %> prohibited this group from being saved:</h2> <ul> <% @group.errors.full_messages.each do |msg| %> <li> <%= msg %> </li> <% end %> </ul> </div> <% end %> <div class="block"> <div class="form_row"> <h2><%= t('group.new.action') %></h2> </div> <div class="space_center"></div> <div class="form_row"> <div class="form_label"> <%= f.label t('group.new.name') %> </div> <div class="form_field"> <%= f.text_field :name, :class => "required form_tag" %> </div> </div> <div class="form_row"> <div class="form_label" id="form_participants"> <%= f.label t('group.new.participants') %> </div> <div class="form_field"> <%= f.select :_participants, [], :class => "form_tag" %> </div> </div> <div class="form_row form_label"> <%= f.label :description %> </div> <div class="form_row"> <%= f.text_area :description, :rows =>6, :cols=> 53, :class => "form_tag" %> </div> <div class="actions center"> <%= f.submit :class => "button" %> </div> </div> <% end %>
Version data entries
10 entries across 10 versions & 2 rubygems