Sha256: 291574205e764a2b499c6d4cdeef5ac477c7f31d77dd83ce038e554b4552dba1
Contents?: true
Size: 1.04 KB
Versions: 11
Compression:
Stored size: 1.04 KB
Contents
<% content_for :head do %> <script type="text/javascript"> $(function() { $('#user_email').autocomplete({ source: '/users/find.json', minLength: 3 }); }); </script> <% end %> <h1>Benutzer zu Gruppe hinzufügen</h1> <%= form_for(@groups_user) do |f| %> <% if @groups_user.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@groups_user.errors.count, "error") %> prohibited this groups_user from being saved:</h2> <ul> <% @groups_user.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <%= f.hidden_field :group_id, :value => @group.id %> <div class="row"> <%= f.label 'Gruppe' %> <div class="input uneditable-input"> <%= @groups_user.group.name %> </div> </div> <div class="row"> <%= f.label :user_email, 'Benutzer E-Mail' %> <%= text_field_tag :user_email %> </div> <div class="actions"> <%= f.submit "Benutzer hinzufügen" %> </div> <% end %> <%= link_to 'Zurück', groups_users_path %>
Version data entries
11 entries across 11 versions & 1 rubygems