Sha256: 988873c5f2d07562a99ff8fb2ab2f78dacdc5d410e65e072629d837f4e46727a

Contents?: true

Size: 1008 Bytes

Versions: 3

Compression:

Stored size: 1008 Bytes

Contents

<!-- -PHCDEV- Form - Script - Snippets -->
<%= form_with(model: @snippet_post, local: true) do |form| %>

	<!-- -PHCDEV- Form Validation -->
	<%= render "phcdevworks_notifications/bootstrap/validations", :object => @snippet_post %>
	<!-- -PHCDEV- Form Validation -->

	<!-- -PHCDEV- Form Input Fields -->
	<div class="mb-3">
		<%= form.label :snippet_post_title, "Snippet Title", class: "form-label" %>
		<%= form.text_field :snippet_post_title, placeholder: "Snippet Title", class: "form-control" %>
	</div>

	<div class="mb-3">
		<%= form.label :snippet_post_code, "Code Snippet", class: "form-label" %>
		<%= form.text_area :snippet_post_code, class: "form-control editor" %>
		<div id="word-count" class="mt-3"></div>
	</div>
	<!-- -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 - Script - Snippets -->

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_scripts-9.0.2 app/views/phcdevworks_scripts/snippet/posts/_form.html.erb
phcdevworks_scripts-9.0.1 app/views/phcdevworks_scripts/snippet/posts/_form.html.erb
phcdevworks_scripts-9.0.0 app/views/phcdevworks_scripts/snippet/posts/_form.html.erb