Sha256: 49f83ce80b706a4b50616f6de42b969af68a945ed9fb8c4d12739dc94f854359

Contents?: true

Size: 833 Bytes

Versions: 7

Compression:

Stored size: 833 Bytes

Contents

<div class="modal hide" id="modal-columns">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <h3><%= t(:select_columns, :default => "Select Columns") %></h3>
  </div>
  <div class="modal-body">
    <% for field in model_columns %>
      <label class="checkbox">
        <input type="checkbox" name="field[]" value="<%= field %>" <%= "checked" if session[:fields][model_name.to_sym].include?(field) %>> <%= t(field, :default => field.capitalize) %>
      </label><br />
    <% end %>
  </div>
  <div class="modal-footer">
    <button type="button" class="btn btn-primary" id="filter-columns" data-url="/<%= model_name %>/select_fields">Ok</button>
    <button type="button" class="btn" id="cancel-filter-columns"><%= t(:cancel, :default => "Cancel") %></button>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
beautiful_scaffold-0.3.0.rc6 lib/generators/templates/app/views/_modal_columns.html.erb
beautiful_scaffold-0.3.0.rc5 lib/generators/templates/app/views/_modal_columns.html.erb
beautiful_scaffold-0.3.0.rc4 lib/generators/templates/app/views/_modal_columns.html.erb
beautiful_scaffold-0.3.0.rc3 lib/generators/templates/app/views/_modal_columns.html.erb
beautiful_scaffold-0.3.0.rc2 lib/generators/templates/app/views/_modal_columns.html.erb
beautiful_scaffold-0.3.0.rc1 lib/generators/templates/app/views/_modal_columns.html.erb
beautiful_scaffold-0.3.0.pre lib/generators/templates/app/views/_modal_columns.html.erb