app/views/phcscriptcdnpro/scriptcdn/scripts/_form.html.erb in phcscriptcdnpro-1.3.0 vs app/views/phcscriptcdnpro/scriptcdn/scripts/_form.html.erb in phcscriptcdnpro-1.3.1
- old
+ new
@@ -1,22 +1,22 @@
<%= form_for(@scriptcdn_script) do |f| %>
<%= render 'phcnotifi/validations', :object => @scriptcdn_script %>
- <div class="form-group">
+ <div class="form-group field_with_error">
<%= f.label :scrptname, "Script Name" %>
- <%= f.text_field :scrptname, class: "form-control" %>
+ <%= f.text_field :scrptname, class: "form-control", placeholder: "Script Name" %>
</div>
- <div class="form-group">
+ <div class="form-group field_with_error">
<%= f.label :scrptdescription, "Script Description" %>
- <%= f.text_area :scrptdescription, class: "form-control" %>
+ <%= f.text_area :scrptdescription, class: "form-control", placeholder: "Description for Script" %>
</div>
- <div class="form-group">
+ <div class="form-group field_with_error">
<%= f.label :scriptversion_id, "Script Version" %>
<%= collection_select(:scriptcdn_script, :scriptversion_id, Phcscriptcdnpro::Scriptcdn::Scriptversion.order('scrptversion'), :id, :scrptversion, {}, {class: "form-control form-control-sm"}) %>
</div>
<div class="actions">
- <%= f.submit "Submit", class: "btn btn-primary btn-sm" %>
+ <%= f.submit "Submit", class: "btn blue-hoki" %>
</div>
<% end %>
\ No newline at end of file