Sha256: 01b861f43875a1ca69a7cd3c7b81280473c7a700e9d5f7a6cdf9ed6d4b11cba2

Contents?: true

Size: 845 Bytes

Versions: 8

Compression:

Stored size: 845 Bytes

Contents

<%= form_for(@site) do |f| %>
  <div class="small-12 columns">
    <%= f.submit 'Save', class: 'success button' %>
    <%= link_to 'Back', sites_path, class: 'secondary hollow button' %>
  </div>

  <% if @site.errors.any? %>
    <div class="small-12 columns">
      <div class="callout warning">
        <h5><%= pluralize(@site.errors.count, 'error') %> prohibited this content from being saved:</h5>

        <ul>
          <% @site.errors.full_messages.each do |message| %>
            <li><%= message %></li>
          <% end %>
        </ul>
      </div>
    </div>
  <% end %>

  <div class="small-12 columns">
    <%= f.label :name %>
    <%= f.text_field :name %>
  </div>

  <div class="small-12 columns">
    <%= f.label :domain %>
    <%= f.text_field :domain %>
    <p class="help-text">Example: fr.domain.com</p>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
guts-1.3.2 app/views/guts/sites/_form.html.erb
guts-1.3.1 app/views/guts/sites/_form.html.erb
guts-1.3.0 app/views/guts/sites/_form.html.erb
guts-1.2.2 app/views/guts/sites/_form.html.erb
guts-1.2.1 app/views/guts/sites/_form.html.erb
guts-1.2.0 app/views/guts/sites/_form.html.erb
guts-1.1.1 app/views/guts/sites/_form.html.erb
guts-1.1.0 app/views/guts/sites/_form.html.erb