Sha256: 93fa288c8ab34cf42cd1ec48184bfe25a22023667fd55106936ea26dfccad540

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 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" %>
          <%= 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.label :ignore_ci, "Allow deploys regardless of CI status" %>
          <%= f.check_box :ignore_ci %>
        </p>
        <p><%= f.submit class: 'btn' %></p>
      <% end %>
    </div>
  </section>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shipit-engine-0.8.5 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.4 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.3 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.2 app/views/shipit/stacks/new.html.erb
shipit-engine-0.8.1 app/views/shipit/stacks/new.html.erb