Sha256: f53b0d0d32976fd660f687301357e9f6780106dc2944dd9efbe2a710cd073cfa
Contents?: true
Size: 1.6 KB
Versions: 3
Compression:
Stored size: 1.6 KB
Contents
<!-- -PHCDEV- Form - Command - Item --> <%= form_with(model: [@command_post, @command_item], url: form_url, local: true) do |form| %> <!-- -PHCDEV- Form Validation --> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @command_item %> <!-- -PHCDEV- Form Validation --> <!-- -PHCDEV- Form Input Fields --> <div class="mb-3"> <%= form.label :command_item_title, "Command Name", class: "form-label" %> <%= form.text_field :command_item_title, class: "form-control" %> </div> <div class="mb-3"> <%= form.label :command_item_text, "Command Description", class: "form-label" %> <%= form.text_area :command_item_text, class: "form-control" %> </div> <div class="mb-3"> <%= form.label :command_item_copy_command, "Copy Command", class: "form-label" %> <%= form.text_field :command_item_copy_command, class: "form-control" %> </div> <div class="mb-3"> <%= form.label :command_item_image, "Featured Image", class: "form-label" %> <%= form.file_field :command_item_image, class: "form-control" %> </div> <% if form.object.command_item_image.attached? %> <%= image_tag main_app.url_for(form.object.command_item_image), class: "img-responsive img-thumbnail" %> <% end %> <!-- -PHCDEV- Form Input Fields --> <!-- -PHCDEV- Form Submition Button --> <div class="actions"> <%= form.submit class: "btn btn-primary" %> </div> <!-- -PHCDEV- For Submition Button --> <% end %> <!-- -PHCDEV- Form - Command - Item -->
Version data entries
3 entries across 3 versions & 1 rubygems