Sha256: b0ae2a4f5923c94e43b7f97bddfa90c09cba0f1a78f621559c93f0694d3ba8a8

Contents?: true

Size: 778 Bytes

Versions: 10

Compression:

Stored size: 778 Bytes

Contents

<div id="profiles-modal" style="display: none;">
  <h1>
    <%= I18n.t("sail.profiles") %>
    <span id="response-message"></span>
  </h1>

  <div class="clearfix"></div>
  <hr>

  <div class="profile-entry">
    <%= form_tag(profiles_path, method: :post, remote: true) do %>
      <input id="new-profile-input" type="text" name="name" placeholder="<%= I18n.t("sail.new_profile_tooltip") %>">
      <button class="btn-sail" type="submit"><%= I18n.t("sail.save") %></button>
    <% end %>

    <div class="clearfix"></div>
  </div>

  <div id="profiles-container">
    <% Sail::Profile.select(:id, :name, :active).includes(:settings, :entries).each do |profile| %>
      <%= render(partial: "sail/profiles/profile", locals: { profile: profile }) %>
    <% end %>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sail-3.6.1 app/views/sail/settings/_profiles_modal.html.erb
sail-3.6.0 app/views/sail/settings/_profiles_modal.html.erb
sail-3.5.1 app/views/sail/settings/_profiles_modal.html.erb
sail-3.5.0 app/views/sail/settings/_profiles_modal.html.erb
sail-3.4.0 app/views/sail/settings/_profiles_modal.html.erb
sail-3.3.0 app/views/sail/settings/_profiles_modal.html.erb
sail-3.2.4 app/views/sail/settings/_profiles_modal.html.erb
sail-3.2.3 app/views/sail/settings/_profiles_modal.html.erb
sail-3.2.2 app/views/sail/settings/_profiles_modal.html.erb
sail-3.2.1 app/views/sail/settings/_profiles_modal.html.erb