Sha256: c5615481140cae17e4a11a8ba46ec5a0ec348765471f97cd3a5ccd8e1ceb26dd

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

<% content_for :page_title do %>
  <h1>Create a stack</h1>
<% end %>

<div class="wrapper">
  <section>
    <div class="setting-section">
      <%= form_for @stack do |f| %>
        <p>
          <%= label_tag "Repo" %>
          <br>
          <%= Shipit.github_url %>
          /
          <%= f.text_field :repo_owner, placeholder: 'e.g. Shopify', required: true, class: "repo" %>
          /
          <%= f.text_field :repo_name, required: true, pattern: "^[a-zA-Z0-9\-_\.]+$", class: "repo" %>
        </p>
        <p>
          <%= f.label :branch %>
          <%= f.text_field :branch, placeholder: 'master' %>
        </p>
        <p>
          <%= f.label :environment %>
          <%= f.text_field :environment, placeholder: 'production' %>
        </p>
        <p>
          <%= f.label :deploy_url %>
          <%= f.text_field :deploy_url, placeholder: 'https://' %>
          <span class="form-hint">Where is this stack deployed to?</span>
        </p>
        <p>
          <%= f.check_box :ignore_ci %>
          <%= f.label :ignore_ci, "Allow deploys regardless of CI status" %>
        </p>
        <p><%= f.submit class: 'btn' %></p>
      <% end %>
    </div>
  </section>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shipit-engine-0.8.9 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.8 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.7 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.6 app/views/shipit/stacks/new.html.erb