Sha256: e76062ada0760df00e5f935c8b3830900ee12dd5112d5ea82825d8cc3ac15e0b

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 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/index.json",
cache: true,
filter_case: true,
filter_hide: true,
newel: false,
height: 6
});
<% end %>

<%= 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">
		<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">
		<%= f.label t('group.new.participants') %>
	</div>
	<div class="form_row">
		<%= f.select :_participants, [], :class => "form_tag" %>
	</div>
	<div class="form_row">
		<%= 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

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-0.4.0 app/views/groups/_new.html.erb