Sha256: af97f8629d942a5e2c5e1350ba7277564b22bd535912e8901e9f98a0e908e8cd
Contents?: true
Size: 1.99 KB
Versions: 7
Compression:
Stored size: 1.99 KB
Contents
<% content_for :headers do %> <%= stylesheet_link_tag "fcbkComplete.css", :media => "screen, projection" %> <%= javascript_include_tag 'jquery.fcbkcomplete.min', 'jquery.validate' %> <% end %> <% 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('group' => { '_founder' => current_subject.slug })) ) %> <div class="space_center"></div> <%= form_for @group do |f| %> <% f.object._founder = current_subject.slug %> <%= f.hidden_field :_founder %> <% 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"> <%= 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
7 entries across 7 versions & 1 rubygems