Sha256: bbd6edc599e3a8f3f4e018061372b8700f7cd8763a8297b73a0180bdb0308e26

Contents?: true

Size: 1.5 KB

Versions: 11

Compression:

Stored size: 1.5 KB

Contents

<h2>Registrierung für Gruppe <%= @group.name %></h2>

<h3>Neue Registrierung</h3>

<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
	<%= devise_error_messages! %>
	
	<%= f.hidden_field :requested_group, :value => @group.id if @group %>
	
	<div class="row">
		<%= f.label :login %>
		<%= f.text_field :login %>
	</div>

	<div class="row">
		<%= f.label :name %>
		<%= f.text_field :name %>
	</div>

	<div class="row">
		<%= f.label :email %>
		<%= f.text_field :email %>
	</div>

	<% if @group && File.exist?(File.join(Rails.root, 'app', 'views', 'registrations', @group.name)) %>
	  <%= render :partial => "registrations/#{@group.name}/app_infos", :locals => {:f => f} %>
	<% end %>

	<div class="row">
		<%= f.label :password %>
		<%= f.password_field :password %>
	</div>

	<div class="row">
		<%= f.label :password_confirmation %>
		<%= f.password_field :password_confirmation %>
	</div>
	
	<div class="row">
		<%= f.submit "Registrieren", :class => 'big-submit' %>
	</div>
<% end %>

<h3>Bestehendes Konto verwenden</h3>

<%= form_for(@group, :method => :get, :url => register_groups_users_path) do |f| %>
  <%= f.hidden_field :requested_group, :value => @group.id if @group %>

  <% if @group && File.exist?(File.join(Rails.root, 'app', 'views', 'registrations', @group.name)) %>
    <%= render :partial => "registrations/#{@group.name}/app_infos", :locals => {:f => f} %>
  <% end %>

  <div class="row">
    <%= f.submit "Anmelden", :class => 'big-submit' %>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gb_mapfish_appserver-1.0.2 app/views/registrations/new.html.erb
gb_mapfish_appserver-1.0.1 app/views/registrations/new.html.erb
gb_mapfish_appserver-1.0.0 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.7 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.6 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.5 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.4 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.3 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.2 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.1 app/views/registrations/new.html.erb
gb_mapfish_appserver-0.9.0 app/views/registrations/new.html.erb