Sha256: 1b90ccedd51901a5a7ea7a18ab224ec85694c03f909184459230992f63452eeb
Contents?: true
Size: 1015 Bytes
Versions: 50
Compression:
Stored size: 1015 Bytes
Contents
<%= render 'page/required_field' %> <%= simple_form_for(@shelf, validate: true) 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 :closed -%> <%= f.check_box :closed %> </div> <div class="field"> <%= f.label :note -%><br /> <%= f.text_area :note, class: 'resource_textarea' -%> </div> <div class="field"> <%= f.label t('activerecord.models.library') -%><br /> <select id="library_id" name="library_id"> <%- @libraries.each do |library| -%> <option value="<%= library.name -%>"<%= " selected='selected'" if @shelf.library == library -%>><%= library.display_name.localize -%></option> <%- end -%> </select> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%>
Version data entries
50 entries across 48 versions & 2 rubygems