Sha256: 8c4e6b8ea2c5f048df8fa7782fde59f492cb65555e3bd226719ef83c48e04143

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

<!-- Form - List Items - Posts -->
<%= form_with(model: [ @list_post, @list_item], url: form_url, local: true) do |form| %>

    <!-- PHCNotifi Render Validation -->
    <%= render "phcdevworks_notifications/bootstrap/validations", :object => @list_item %>
    <!-- PHCNotifi Render Validation -->

    <!-- Form Input Fields -->
    <div class="mb-3">
        <%= form.label :list_item_title, "Product/Service Title" %>
        <%= form.text_field :list_item_title, class: "form-control" %>
    </div>

    <div class="mb-3">
        <%= form.text_area :list_item_text, class: "form-control editor" %>
        <div id="word-count" class="mt-3"></div>
    </div>

    <div class="mb-3">
        <%= form.label :list_item_url, "Product/Service URL" %>
        <%= form.text_field :list_item_url, class: "form-control" %>
    </div>

    <div class="mb-3">
        <%= form.label :list_item_number, "Ordering Number" %>
        <%= form.select( :list_item_number, [["01","01"],["02","02"],["03","03"],["04","04"],["05","05"],["06","06"],["07","07"],["08","08"],["09","09"],["10","10"],["11","11"],["12","12"],["13","13"],["14","14"],["15","15"],["16","16"],["17","17"],["18","18"],["19","19"],["20","20"]], {}, {class: "form-control"}) %>
    </div>
    <!-- Form Input Fields -->

    <!-- Form Submition Button -->
    <div class="actions">
        <%= form.submit class: "btn btn-primary" %>
    </div>
    <!-- For Submition Button -->

<% end %>
<!-- Form - List Items - Posts -->

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcdevworks_press-9.0.2 app/views/phcdevworks_press/list/items/_form.html.erb
phcdevworks_press-9.0.1 app/views/phcdevworks_press/list/items/_form.html.erb