Sha256: dc0a728c652302655bbcfa08434fdd2f61af2566eb1c1e77df327eea656f97d0
Contents?: true
Size: 908 Bytes
Versions: 2
Compression:
Stored size: 908 Bytes
Contents
<!-- Form - Script - Snippets --> <%= form_with(model: @snippet_post, local: true) do |form| %> <!-- PHCNotifi Render Validation --> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @snippet_post %> <!-- PHCNotifi Render Validation --> <!-- Form Input Fields --> <div class="form-group field_with_errors"> <%= form.label :snippet_title, "Snippet Title" %> <%= form.text_field :snippet_title, placeholder: "Snippet Title", class: "form-control" %> </div> <div class="form-group field_with_errors"> <%= form.label :snippet_code, "Code Snippet" %> <%= form.text_area :snippet_code, placeholder: "Code Snippet", rows: "10", 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 - Script - Snippets -->
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcdevworks_scripts-2.2.0 | app/views/phcdevworks_scripts/snippet/posts/_form.html.erb |
phcdevworks_scripts-2.1.1 | app/views/phcdevworks_scripts/snippet/posts/_form.html.erb |