Sha256: accb1a3d8fda38f3835126853c2bd2aa992f9ff626c68e19378da49c9745d165

Contents?: true

Size: 1.43 KB

Versions: 13

Compression:

Stored size: 1.43 KB

Contents

<%= simple_form_for(@library_group, :validate => true) do |f| -%>
  <%= f.error_notification -%>

  <div class="field">
    <%= f.label :name -%><br />
    <%= f.text_field :name, :class => 'short_name' -%>
  </div>

  <div class="field">
    <%= f.label :display_name -%><br />
    <%= f.text_area :display_name, :class => 'resource_textarea' -%>
  </div>

  <div class="field">
    <%= f.label :email -%><br />
    <%= f.email_field :email, :class => 'resource_email' -%>
  </div>

  <div class="field">
    <%= f.label :url -%><br />
    <%= f.url_field :url, :class => 'resource_url' -%>
  </div>

  <div class="field">
    <%= f.label :login_banner -%><br />
    <%= f.text_area :login_banner -%>
  </div>

  <% if defined?(EnjuBookmark) %>
    <div class="field">
      <%= f.label :allow_bookmark_external_url -%>
      <%= f.check_box :allow_bookmark_external_url -%>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :my_networks -%><br />
    <%= f.text_area :my_networks -%>
  </div>

  <div class="field">
    <%= f.label :admin_networks -%><br />
    <%= f.text_area :admin_networks -%>
  </div>

  <div class="field">
    <%= f.label :note -%><br />
    <%= f.text_area :note -%>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.country') -%><br />
    <%= f.select(:country_id, @countries.collect{|c| [c.display_name.localize, c.id]}) -%>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre11 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre10 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre9 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre8 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre7 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre6 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre5 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre4 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre3 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre2 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre app/views/library_groups/_form.html.erb
enju_library-0.0.2 app/views/library_groups/_form.html.erb
enju_library-0.0.1 app/views/library_groups/_form.html.erb