Sha256: 27da43cd854d254f5e612f8b2fdd13c0de7f0406dc6ebbca8aeb2baa82dffbe2
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
<div class="grid-row"> <div class="column-two-thirds"> <%= render("shared/back", back_path: feature_toggles_path) %> <%= form_for(@feature_toggle) do |f| %> <h1 class="heading-large"> <%= t(".heading") %> </h1> <div class="form-group <%= "form-group-error" if @feature_toggle.errors[:key].any? %>"> <% if @feature_toggle.errors[:key].any? %> <span class="error-message"><%= @feature_toggle.errors[:key].join(", ") %></span> <% end %> <%= f.label :key, t(".fields.key"), class: "form-label" %> <%= f.text_field :key, class: "form-control" %> </div> <div class="form-group <%= "form-group-error" if @feature_toggle.errors[:active].any? %>"> <% if @feature_toggle.errors[:key].any? %> <span class="error-message"><%= @feature_toggle.errors[:key].join(", ") %></span> <% end %> <div class="multiple-choice"> <%= f.check_box :active %> <%= f.label :active, t(".fields.active") %> </div> </div> <div class="form-group"> <%= f.submit t(".submit"), class: "button" %> </div> <% end %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
defra_ruby_features-0.1.1 | app/views/defra_ruby_features/feature_toggles/new.html.erb |
defra_ruby_features-0.1.0 | app/views/defra_ruby_features/feature_toggles/new.html.erb |