Sha256: ff1cb4c24eeb4a63d839fb501541419e032cc5df295490e4447a7ea25fb8e0a6
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcdevworks_tutorials-12.2.0 | app/views/phcdevworks_tutorials/command/items/_form.html.erb |