Sha256: 3e1e54aafe0e7f85e1f8c184501a4aab561d541a3e614ee1d69f1785250bf33d
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 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 /> <%= link_to t('page.edit'), edit_profile_path(@library_group.user.profile) -%> </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
3 entries across 3 versions & 1 rubygems