Sha256: de601a0595d0247d0abf20342fe00bd61701170b008caaad4f9185d994ac13f2

Contents?: true

Size: 908 Bytes

Versions: 3

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, class: 'form-control', placeholder: 'Snippet Title' %>
	</div>
	<div class="form-group field_with_errors">
		<%= form.label :snippet_code, "Code Snippet" %>
		<%= form.text_area :snippet_code, class: 'form-control', placeholder: 'Code Snippet', rows: '10' %>
	</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

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_scripts-2.1.0 app/views/phcdevworks_scripts/snippet/posts/_form.html.erb
phcdevworks_scripts-1.0.0 app/views/phcdevworks_scripts/snippet/posts/_form.html.erb
phcdevworks_scripts-0.1.0 app/views/phcdevworks_scripts/snippet/posts/_form.html.erb