Sha256: cdbde84d669484b80751112ac44db0525b7a24a838900c415b33e1acb98f18f3

Contents?: true

Size: 967 Bytes

Versions: 1

Compression:

Stored size: 967 Bytes

Contents

<%= simple_form_for([:backend, site], as: :site,
                                      url: :backend_site,
                                      html: { autocomplete: "false" }) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :name %>
    <%= f.input :logo, as: :file %>
    <%= f.input :logo_cache, as: :hidden %>

    <div class="form-group site_logo_image">
      <div class="col-sm-10 col-sm-offset-2">
        <%= image_tag(f.object.logo.small.url, alt: "") %>
      </div>
    </div>

    <%= f.input :remove_logo, as: :boolean,
                              checked_value: true,
                              unchecked_value: false if f.object.logo? %>

    <%= f.input :theme, as: :theme %>
    <%= f.input :locale, as: :language %>

    <%= f.input :meta_keywords, as: :meta_keywords %>
    <%= f.input :meta_description %>
  </div>

  <div class="form-actions text-right">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archangel-0.0.8 app/views/archangel/backend/sites/_form.html.erb