Sha256: 36a99286422f344fb9c85230af26507e1ffc58533ec8907037c73204a3a02073

Contents?: true

Size: 661 Bytes

Versions: 26

Compression:

Stored size: 661 Bytes

Contents

<%= alchemy_form_for [:admin, @legacy_page_url ||= @page.legacy_urls.build],
  id: 'new_legacy_page_url' do |f| %>
  <% if @legacy_page_url.errors.any? %>
    <%= render_message :error do %>
      <%= @legacy_page_url.errors.full_messages.join %>
    <% end %>
  <% end %>
  <%= hidden_field_tag :page_id, @page.id %>
  <div class="inline-input">
    <div class="left-column">
      <%= f.text_field :urlname, placeholder: Alchemy::LegacyPageUrl.human_attribute_name(:urlname) %>
    </div>
    <div class="right-column">
      <button class="with_icon">
        <%= render_icon(:create) %>
        <%= _t(:add) %>
      </button>
    </div>
  </div>
<% end %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb