Sha256: 515201a0482293236b2acf75a0fff7ac9e387aa84e0d357d1a878bef26ef04d8
Contents?: true
Size: 1.4 KB
Versions: 4
Compression:
Stored size: 1.4 KB
Contents
<!-- Form - Command - Item --> <%= form_with(model: [@command_post, @command_item], url: form_url, local: true) do |form| %> <!-- PHCNotifi Render Validation --> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @command_item %> <!-- PHCNotifi Render Validation --> <!-- Form Input Fields --> <div class="form-group"> <%= form.label :item_name, "Command Name" %> <%= form.text_field :item_name, class: "form-control" %> </div> <div class="form-group"> <%= form.label :item_description, "Command Description" %> <%= form.text_area :item_description, class: "form-control" %> </div> <div class="form-group"> <%= form.label :item_copy_command, "Copy Command" %> <%= form.text_field :item_copy_command, class: "form-control" %> </div> <div class="form-group field_with_errors"> <%= form.label :item_image, "Featured Image" %> <%= form.file_field :item_image, class: "form-control" %> </div> <% if form.object.item_image.attached? %> <%= image_tag main_app.url_for(form.object.item_image), class: "img-responsive img-thumbnail" %> <% end %> <!-- Form Input Fields --> <!-- Form Submition Button --> <div class="actions"> <%= form.submit class: "btn btn-primary" %> </div> <!-- For Submition Button --> <% end %> <!-- Form - Command - Item -->
Version data entries
4 entries across 4 versions & 1 rubygems