Sha256: 2a0e4d0dbba2d8432542f4e094dcfad8537415b159b989a0e8248bcc7ef36d09

Contents?: true

Size: 1.41 KB

Versions: 14

Compression:

Stored size: 1.41 KB

Contents

<%= simple_form_for(@library_group) do |f| -%>
  <%= f.error_messages -%>

  <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

14 entries across 14 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre33 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre32 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre31 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre30 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre29 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre28 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre27 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre26 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre25 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre24 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre23 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre22 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre21 app/views/library_groups/_form.html.erb
enju_library-0.1.0.pre20 app/views/library_groups/_form.html.erb