Sha256: f30c4c80f75b025b120eb9380702c0802362e83f5051d306c784e3313660729a
Contents?: true
Size: 1.47 KB
Versions: 17
Compression:
Stored size: 1.47 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 :command_item_title, "Command Name" %> <%= form.text_field :command_item_title, class: "form-control" %> </div> <div class="form-group"> <%= form.label :command_item_text, "Command Description" %> <%= form.text_area :command_item_text, class: "form-control" %> </div> <div class="form-group"> <%= form.label :command_item_copy_command, "Copy Command" %> <%= form.text_field :command_item_copy_command, class: "form-control" %> </div> <div class="form-group field_with_errors"> <%= form.label :command_item_image, "Featured Image" %> <%= 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 %> <!-- 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
17 entries across 17 versions & 1 rubygems