Sha256: 6f82fd8585e07cb9b0c0894b96e58375a01691681eb7c42d7bf5f339e697febf

Contents?: true

Size: 1.1 KB

Versions: 94

Compression:

Stored size: 1.1 KB

Contents

<%= form_for @sidebar, url: { action: (@sidebar.new_record? ? "create" : "update"), id: @sidebar }, html: {id: "sidebar-widget", class: "validate"} do |f| %>
    <%= render partial: 'layouts/camaleon_cms/admin/form_error', locals: {data: @sidebar} %>

    <div class="form-group">
        <%= f.label t('camaleon_cms.admin.table.name') %><br>
        <%= f.text_field :name, :class => "form-control required", id: "widget_sidebar_name" %>
    </div>
    <div class="form-group">
        <%= f.label t('camaleon_cms.admin.table.slug') %><br>
        <%= f.text_field :slug, :class => "form-control slug required", "data-parent" => "widget_sidebar_name" %>
    </div>

    <div class="form-group">
        <%= f.label t('camaleon_cms.admin.table.description') %><br>
        <%= f.text_area :description, :class => "form-control", :rows => 2 %>
    </div>
    <div class="form-group">
        <button class="btn btn-primary pull-right" type="submit"><%= t('camaleon_cms.admin.button.submit')%></button>
    </div>
    <script>
        jQuery(function(){ init_form_validations($("#sidebar-widget")); });
    </script>
<% end %>

Version data entries

94 entries across 94 versions & 2 rubygems

Version Path
camaleon_cms-2.9.0 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.8.3 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.8.2 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.8.1 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.8.0 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.7.5 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.7.4 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.7.3 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.7.2 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.7.1 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.7.0 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.6.4 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.6.3 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.6.2 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.6.1 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.6.0.1 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.6.0 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.5.3.1 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.5.3 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb
camaleon_cms-2.5.2 app/views/camaleon_cms/admin/appearances/widgets/sidebar/form.html.erb