app/views/phcscriptcdnpro/scriptcdn/scripturls/_form.html.erb in phcscriptcdnpro-1.3.0 vs app/views/phcscriptcdnpro/scriptcdn/scripturls/_form.html.erb in phcscriptcdnpro-1.3.1
- old
+ new
@@ -1,22 +1,22 @@
<%= form_for([@scriptcdn_scripturl.scriptversion, @scriptcdn_scripturl], url: scriptcdn_scriptversion_scripturls_path) do |f| %>
<%= render 'phcnotifi/validations', :object => @scriptcdn_scripturl %>
- <div class="field">
- <label><%= f.label :scrpturlphc, "Script URL (AWS)" %></label>
- <%= f.text_field :scrpturlphc, class: "form-control" %>
+ <div class="form-group field_with_error">
+ <label><%= f.label :scrpturlphc, "Script URL" %></label>
+ <%= f.text_field :scrpturlphc, class: "form-control", placeholder: "Script URL (AWS)" %>
</div>
- <div class="field">
+ <div class="form-group field_with_error">
<label><%= f.label :scrpturltype, "Script Type" %></label>
- <%= f.select :scrpturltype, [['CSS','css'],['JS','js'],['font','Font']], class: "form-control" %>
+ <%= f.select :scrpturltype, [['CSS','css'],['JS','js'],['font','Font']], {}, {class: "form-control"} %>
</div>
- <div class="form-group">
+ <div class="form-group field_with_error">
<label><%= f.label :scriptversion_id, "Script Version" %></label>
<%= collection_select(:scriptcdn_scripturl, :scriptversion_id, Phcscriptcdnpro::Scriptcdn::Scriptversion.order('scrptversion'), :id, :scrptversion, {}, {class: "form-control"}) %>
</div>
<div class="actions">
- <%= f.submit "Submit", class: "btn btn-primary btn-sm"%>
+ <%= f.submit "Submit", class: "btn blue-hoki" %>
</div>
<% end %>